C Exercise 1: Multiplication Table Solution + Shoutouts: C Tutorial In Hindi #20

preview_player
Показать описание
In this series of C programming tutorial videos, I have explained you everything you need to know about C language. I hope you are enjoying this C course in Hindi.

Best Hindi Videos For Learning Programming:

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

/* There was a chain of comments flowing in which people were telling me that you cannot program a GUI or even a simple message box in C. A quick demo for those brothers:
Copy paste this code in C for now and wait for the tutorials to come. Picture abhi baaki hai mere dost! */

#include <windows.h>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Bhai C mei ban sakta hai GUI and message box bhi! Thoda time do bas!", "Harry from CodeWithHarry Says:", MB_OK);
return 0;
}

//Kya kehte ho?

CodeWithHarry
Автор

Thanks for shout-out bro ! its going amazing....i want u to give those type of examples and exercise daily which will help us to improve the programming logic at the same time .

chandankumar-fybh
Автор

6:51 he talked about the thing mostly will ignore and realise later sometime when it will be too late. 6:51 - 7:22 listen it and think about it again for sometime. You can't afford to lose that alpha.

mrinalkapri
Автор

Big like for Harry bhai's hardwork

divyanshjat
Автор

i have modify
#include <stdio.h>

int main()
{
int a, b;
printf ("ENTER NUMBER WHICH YOU WANT MULTIPLICATION TABLE\n");
scanf("%d", &a);

printf(" ENTER NUMBER TILL YOU WANT TABLE\n");
scanf("%d", &b);

for ( int i = 1; i <= b; i++)
{
printf("%d x %d = %d\n", a, i, a*i);
}

return 0;
}
sir THANKS a lot for giving information

Автор

You should have given this exercise after theory and practical video of loop and num. I am the absolute beginner and found so difficult to solve this exercise..😕

majinbuu
Автор

Project :: (sir ye project ka code karke batvo na plz only using c language)
Student Managment System :
1. Make an user defined data type 'Student' using structure including following attributes.
a. Name
b. Class
c. Div
d. Roll No
2. on execution of the program a menu should be displayed on screen :
****MENU****
1. Add Student
2. Search Student (using Class, Div, Roll No)
3. Display All Students
4. Exit
3. Use file handling to store details of the students in a file.

pratikshabelote
Автор

Did with loop in function, thank you🙏🙏🙏😊😊

Nikhil-qdqg
Автор

#include<studio.h>
int main()
{
int num, i, a1;
printf("Enter the number you want to get the multiplication of :\n");
scanf("%d", &num);
printf("\n");
printf("Upto how much do you want to see the multiplication :\n");
scanf("%d", &a1);
printf("Yours MULTIPLICATION TABLE of %d is as follows :\n", num);
for(i=1;i<a1+1;i++)
{
printf("%d * %d = %d\n", num, i, num*i);
}
return(0);
}

kpiyushkumar
Автор

#include<stdio.h>

int main()
{ int n;
printf("Enter a Number to print table\n");
scanf("%d", &n);

printf("The table of given number is as follows:\n", n);
for (int i = 1; i < 11; i++)
{
printf("%d X %d = %d\n", n, i, i*n);
}
return 0;
}

//Code to print Table
😊

zainansari
Автор

Nice video bhai ❤. Btw here is my project :
#include <stdio.h>
//Third method: Making Functions
void tables(int a, int b)
{
for (int i = 0; i <= b; i++)
{
printf("%d x %d = %d\n", a, i, a*i);
}
}
int main()
{
tables(10, 100);
return 0;
} //Sorry for posting late

chiteez_____
Автор

You are the most one whom I have seen on YouTube

saurabh
Автор

Vaii mera C ka sem exam hai 3 din baad And your vids are really helping for revision

anjal
Автор

Sir I did with looping own I really felt awesome

oreoboy
Автор

Wah, answer yaha tha


Mai bhi loop ka kare age bada,
Incomplete feel huwa lekin ab fullfill hai

nfbmedia
Автор

#include <stdio.h>
int main()
{
int num;
printf("Enter number to get it's multiplication number:\n");
scanf("%d", &num);
int index=1, num2;
do{
num2=num*index;
printf("%d * %d = %d\n", num, index, num2);
index = index+1;

}while(index<11);

}

AvinashDesai-wfhw
Автор

#include<stdio.h>
Int main()
{
Int i=1, num;
Printf("enter a number \n"):
Scanf ("%d", &num);
While(i<=num)
{
Printf("%d*%d=%d\n", I, num, I*num);
i++;
}
Return 0;
}

pradeepkumarsubudhi
Автор

i already know loops at that time but I solved that problem according to your previous video i.e. by #8 🤪

himanshu_
Автор

These course really helped me to go with basis.

siddheshshelke
Автор

//Mathematic table//

#include <stdio.h>
int main()
{
int a, n, m;
m=1;
printf("Enter a num :");
scanf("%d", &n);

do {
a= n*m;
printf("%d X %d = %d\n", n, m, a);
m=m+1;
}
while(m<=10);
return 0;
}

hanumanaramsuthar