Question: C program Write a program that executes loops based on the number of restaurants a user has visited . The program asks for the name


struct restaurant char nm [20]; int rate; int main() 1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 int n; struct restaurant s[3]; // number of mesturan char nml [50], nm2 [51]; int max=0, min=10, i; printf(" Enter the number of r:\t"); scanf("%s", n) ; //Dunut (" Enter the name and rating of restau for(i=0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
