Hello, What’s Going on? You guys know that i am regularly uploading the Programs related to c Program to help you all in C. So, if you wanna learn more about CÂ Click here Okay, have a look on the code //write a program to check whether the number is positive. #include<stdio.h> void main(){ int number; …
C Programming
Write a program to display the order menu and let the user choose any option in C Programming
Before you go you need to be familiar with Switch Case Statement. Anyway let’s check the code //WAP TO Display the menu and let the user choose their choice #include<stdio.h> void main(){ int order; printf(“Please choose what you want \n 1 for Veg MoMo \n 2 for Buff MoMo \n 3 for Chaumin \n 4 …
Write a program to check whether the number is Odd or Even in C
Hello there, here i am again back with the another program. I hope you guys are enjoying my Blog and the contents let’s check the program [gistpen id=”340″]
Write a Program to display Name, age and salary of a person in C Programming
Have a look and try it Yourself!! #include <stdio.h> int main(){ char name[20]; int age; float salary; printf(“Enter your name: “); gets(name); printf(“Enter your age: “); scanf(“%d”,&age); printf(“Enter your salary: “); scanf(“%f”,&salary); printf(“Name: ” ); puts(name); printf(“\n Age: %d”,age); printf(“\n Salary: %.2f”,salary); }
Write a program to find the simple interest in C Programming
Okay here again I am sharing another program to find out the simple interest #include<stdio.h> void main() { int amount, rate, time, si; printf(“\nEnter Principal Amount : “); scanf(“%d”, &amount); printf(“\nEnter Rate of Interest : “); scanf(“%d”, &rate); printf(“\nEnter Period of Time : “); scanf(“%d”, &time); si = (amount * rate * time) / 100; …