Monday, October 19, 2020

c program to find 20% of a number

#include <stdio.h>

int main() {

    float n;

    printf("Enter a number:");

    scanf("%f", &n);

    printf("Answer is %.2f", n*0.20);

    return 0;

}

No comments:

Post a Comment

Finding Direction: Navigating Career Goals and Life Aspirations

  Finding Direction: Navigating Career Goals and Life Aspirations Life often presents us with a myriad of choices, and the path to fulfillme...