Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Present the user with a menu with the following options 1) Print author info 2) Print multiplication table 3) Print custom multiplication table 0)Exit If
Present the user with a menu with the following options 1) Print author info 2) Print multiplication table 3) Print custom multiplication table 0)Exit If the user chooses option 1, then print your name and id If the user chooses 2 then you should print a multiplication table ranging from 188x188 to 198x198 If the user picks option 3 then print a multiplication table starting at 0x0 up to a maximum value as entered by the user. If the user chooses option 0 exit the program If the makes any other selection, printf "Invalid Selection". When the user prints out the multiplication table it should be in the following format: 0 1 2 3 4 0 0 0 0 0 0 1 0 1 2 3 4 2 0 2 4 6 8 3 0 3 6 9 12 4 0 4 8 12 16 by c programming using linux or netbeans ive attached my work its not complete i did option 1 correctly but i dont know how to do the rest all T-Mobile 11:15 AM To Subject int main) int sel, n, i; printf("Enter 1 for author infolnEnter 2 for multiplication tablelnEnter 3 for customm multiplication tableln"); scanf("%d", &sel); if (sel == 1) printf("name idIn"); else if (sel == 2) printf "inter an integer n"); scanf("%d", &n); for(i-0; i) return(O)
Present the user with a menu with the following options
1) Print author info
2) Print multiplication table
3) Print custom multiplication table
0)Exit
If the user chooses option 1, then print your name and id
If the user chooses 2 then you should print a multiplication table ranging from 188x188 to 198x198
If the user picks option 3 then print a multiplication table starting at 0x0 up to a maximum value as entered by the user.
If the user chooses option 0 exit the program
If the makes any other selection, printf "Invalid Selection".
When the user prints out the multiplication table it should be in the following format:
0 1 2 3 4
0 0 0 0 0 0
1 0 1 2 3 4
2 0 2 4 6 8
3 0 3 6 9 12
4 0 4 8 12 16
by c programming
using linux or netbeans
ive attached my work its not complete
i did option 1 correctly but i dont know how to do the rest
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started