Skip to content

SuvamRoutray/NumberToFoodItemUsingC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

#include<stdio.h> void main() { int a; printf("Enter any number from 1 to 5\n"); scanf("%d",&a); switch(a) { case 1: printf("Food item:- Pizza \nPrice:- Rs.239"); break; case 2: printf("Food item:- Burger \nPrice:- Rs.129"); break; case 3: printf("Food item:- Pasta \nPrice:- Rs.179"); break; case 4: printf("Food item:- French Fries \nPrice:-Rs. 99"); break; case 5: printf("Food item:- Sandwich \nPrice:- Rs.149"); break; default: printf("Invalid number"); break; } return 0; }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published