Answers for "how to display percent sign in printf statement in C"

C
1

how to display percent sign in printf statement in C

#include <stdio.h>
#include <stdlib.h>

int main(void)
{
 int num1 
 int num2
 int sum 
 
 printf("Enter your first number/n");
 scanf("%d", num1);
 
 print("Enter your second number/n");
 scanf("%d", num2);
 
 printf("The sum is %d", sum = num1 + num2);
 
 return 0;
 }
Posted by: Guest on September-04-2021

Code answers related to "C"

Browse Popular Code Answers by Language