Sep 6, 2024
printf and percentage:
int instead of long for small values).printf function: Used to display output on the screen.scanf function: Used to take input from the keyboard.scanf to read values from the keyboard and store them in variables.
scanf("%d", &variable);