Solved programming problem

How to use *= operators in C

Source code

#include <stdio.h>

int main()

{

    int n;

    printf("Please Enter Two Value: ");

    scanf("%d",&n);

    n *=5; /// this line means n = n*5;

    printf("
 Your Value is: %d
",n);

    return 0;

}

Output

Please Enter Two Value:15

Your Value is:75

Join the discussion

Add your comment