Question: Write a program that asks for a UsersName, Email, Favorite URL. This must be done in a loop that end when the User choose to
Write a program that asks for a UsersName, Email, Favorite URL. This must be done in a loop that end when the User choose to be done or the the number of enteries is greater than 15.
im confused on the entries part, i have most of it done, can someone help me with the code for entries? so basically if i choose no that i am not done, it must restart the program. and that the only way it will finish is if i say yes or there is 15 entries.

#include stdio.h> int main(int argc, char argv[]) char done; while(1) char user [50] printf("Enter username: "); scanf(" ^ ]s", user); printf("%s ", user); printf("In") char email [50]; printf("Enter email: ") scanf(" [In]s", email); printf("%s ", email); printf("In") char url [50] printf("Enter favorite URL: scanf(" [In]s", url) printf("%s ", url); printf("In") "); printf ("are you done? y: In); scanf(" %c", &done) if (done = 'y'){break;}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
