Example of Switch & Nested Switch: C Programming
Check in youtube
#include<stdio.h>
int main()
{
int phn_num, cs;
printf("Input your phone number: ");
scanf("%d", &phn_num);
start:
printf("\nSelect option\n1.Own Service.\n2.Package.\n3.Call a friend.\n>");
scanf("%d", &cs);
Check in youtube
#include<stdio.h>
int main()
{
int phn_num, cs;
printf("Input your phone number: ");
scanf("%d", &phn_num);
start:
printf("\nSelect option\n1.Own Service.\n2.Package.\n3.Call a friend.\n>");
scanf("%d", &cs);