Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions C/Program 85
Submodule Program 85 added at 216e56
13 changes: 9 additions & 4 deletions C/program-1/program.c
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@

#include<stdio.h>
#includeR<conio.h>
int main()
{
/*initialization */
clrscr();
int n,i,j;
printf("enter the number of rows"); /*Input the number of rows */
scanf("%d",&n);
printf("Enter the number of rows"); /*Input the number of rows */
scanf("%d",&i);
print("Enter the number of columns");
scanf("%d",&j);
for(i=1;i<=n;i++) /*condition */
{
for(j=1;j<=i;j++)
{
printf(" %d",j); /*output */
{
printf("%d",n); /*output */
}
printf("\n");
}return 0;
Expand Down
3 changes: 2 additions & 1 deletion C/program-8/program.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <stdio.h>
int main()
{

clrscr();
int y,n,m,d,j;
printf("enter the input");
scanf("%d",&n);
Expand All @@ -12,4 +12,5 @@ int main()
printf("year=%d",y);
printf("months =%d",j);
printf("days=%d",d);
getch();
}