Develop a C program to display your name if a given number is less than 100 using if statement
Code
#include <stdio.h>int main(){int n;printf("Enter number: ");scanf("%d", &n);if (n < 100){printf("Peter Parker\n");}return 0;}
Output
Enter 100 and comment here your answer
0 Comments
Post a Comment