Saturday, 29 August 2020

List program.

#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
int i;
char s[500];
clrscr();
printf("\nEnter the number of items: \n");
scanf("\n%d",&i);
printf("Enter the list ",s);
for(i=1;i<=10;i++)
{
printf("%d. ",i,s);
scanf("%s",&s);
}
getch();
}

So the above program explains about listing using numbers.

No comments:

Post a Comment

C Programming

What is DBMS in brief?

A Database Management System (DBMS) is a software suite designed to efficiently manage, organize, store, manipulate, and retrieve data. It a...