C-50 Arrays in C - Part 5 | Array Program 2 | C Programming Tutorials
Вставка
- Опубліковано 11 лип 2021
- In this lecture we will discuss one C program using Arrays.
Best C Programming Tutorials: • Programming in C
*********************************************
Connect & Contact Me:
Jenny's Lecture Hindi: / @jennyslectureshindi
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/profile/Jayanti...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
Telegram Group Link: Jenny's Lectures
telegram.me/jennyslectures
*******************************************
More Playlists:
Programming in C Tutorials: • Programming in C
C++ Tutorials for beginners: • Lec 1: How to Install ...
Printing Pattern in C: • Printing Pattern Progr...
Best Python Tutorials for Beginners: • Python - Basic to Advance
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Dynamic Programming: • Dynamic Programming
Operating Systems tutorials: // • Operating Systems
DBMS Tutorials: • DBMS (Database Managem...
Tags:
arrays in c, what is array, introduction to arrays in c, c programming, computer science, engineering, programming languages, c language, c programs on arrays, coding exercise on array,
#cprogramming #coding #arraysinc #clanguage #jennyslectures
As a commerce student I'm learning C language very easy with the help of this channel.
I bet uve lost hope already
@@noneed1862 thanks for you hope
And dont bit. Becouse Im still learning advanced C language.
achhhhhaa...😅😅😂
@@noneed1862 why
#include
int main()
{
int marks[5], i, sum = 0;
float average;
printf("Enter a element of array
");
for (i = 0; i < 5; i++)
{
scanf("%d", &marks[i]);
sum = sum + marks[i];
}
printf("sum=%d
", sum);
average = sum / 5;
printf("
average=%f", average);
return 0;
}
0
Why put return 0
Because they mentioned int main ()
Your teaching style is amazing ma'am. You make every topic so easy to understand! More power to you ! 💯
Thank you so much ma'am. Your teaching style makes the concept crystal clear. Looking forward to learn from you in future also.
Mam your style of teaching is mind blowing 🙏🙏
Istarted learning c from you, before your video s I was memorising the things but after watching your video I started learning co ncept thanks a lot mam iam a bsc student❤️
Ma'am, thank you so much for data structure topics.. I had the exam today, I found it so easy.... Thank you so much ma'am 😘😘😘😘😍
Mam please make videos on fuction and recursion too.
Also the method of solving series related problem.
Love from nepal❤❤
You have good problem solving skills.
Super mam your teaching style is super
Ma'am I don't know why I really love you ❤️ we people need lecturer like you.... God bless you ma'am...
Love from Karnataka ☺️
Where in karnataka
😂
Thanks ma'am 🙏❤️
I love your teaching skills ♥️
Aapka smjhne ka tarika bahut acha hai🤗
Jenny ma'am your teaching skills is mind blowing ❤
Your voice is very beautiful and your style is also wonderful.
Damn amazing i like your lectures
Thank you 🙏💓
Real hardworking mam
in this program we can ask no of students also nd based on no of student it give u o/p
#include
void main()
{
int n,marks[n];
float sum=0.0,avg;
printf("enter the no of student:
");
scanf("%d",&n);
printf("enter the marks of %d student:
",n);
for(int i=0;i
👏👏
Mam, really thank you so much for your kind hard work
Mam please complete the c course these courses are really very helpful
Thanks teacher
Mam i am waiting your lectures 😍
Thank you so much ❤️❤️
Do make a video on taking two array of elements and compare them if it is equal to print that element.
Transformation 💯❤️😍
Jenny mam is back with a bang.
Nice explamatin mam
Thank you madam ..
welcome back teacher.
Thanks mam 🙏🙏🙏🙏🙏
thank you maam
Really your voice is amazing mam.............j.......b......t.........!!!!
Thank you to doing videos on array in c thanks a loot
Thank you mam ❤
Good knowledge
Thanks alot jennyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyv mam .
Thanks is a small word for u.😍
Tq mam
Awsm ma'am
Mam..teach us some complex prob in arrays and strings..
So good mam🖤
Mam, why didn't you do the arithmetic operation for 'sum' in the same 'for' loop, we don't have to print the variables individually so why can't we use the same 'for' loop for calculation part also? I have done it in my compiler and it works fine.
Mam you taught open hairs because looking ossum and soo pretty ❤️❤️👍😁
Mam aap bahut aacha padhati hai..... Thank you so much mam.... You are the best teacher
I agree
Mam I'm sorry to say this....
U r looking gorgeous 😍😍😍
....
In this outfit....
Apart from this....
I personally like ur teaching skills .....👌👌
Nice Video......
Very nice👍
Wow mam nice 👌
2:05 Lecture Starts
🤕
great
mam jitni acchi dikhti hai utna hi accha padhati bhi hai. much respect. and i cant stop myself from complementing sorry
Mam please do videos on algorithms...
Mam please make video on how we can use function in array
Thank you very much. You are a genius.
lacture starts at 2:04
Mam big fan you 🙏🙏
Hello. I would like to ask if you have made a video about fork() before?
Mam is there any method to use an array which holds 'n' items without declaring array size just like vector in C++. (Array Auto-size and resize feature)
No.not possible.dynamic grow size only when you use dynamic memory allocation may be linked list like. Thats also different area of memory alocation. C++ vector stl using that.
@@prasantadash2803 Yes
Mam , i love you ❤️❤️🥰
Mam Please continue c as soon as possible
The sum can be calculated inside the first loop. Why make 2 loops of the same kind?
Mam, plz mam
Start the dynamic programming tutorial 🙏🙏🙏
U looking very beautiful mam & ur class also beautiful !!!💟💟
Thanks mam
My Almighty God continue to bless you. Ameen
Please ma help me for the download link of the compiler you are using, I like it
Mam please complete c programming as fast you can
Ur teaching is just fabulous ma'am 🤩
Mam I am watching your each and every video.... Right now I m in class 9,Trying to learn many things from you... Your way of expression .. Your way of talking and ofcourse the study content also.Plz Mam tell me which C program you are using bcouz in my laptop it's screen is blue one....plz mam
I m using VS code ...n I think u have turboC
@@JennyslecturesCSIT Thank you so much Mam 🙏🙏
MAM AND ALSO DO PRACTIALLY EVERY PROGRAM AFTER COMPLETION OF C MAM PLEASE START JAVA AND DBMS
Mama plzz explain why array index start from zero?
mam you are looking very pretty in this dress
Is there any garbage value in float avg ?
That wink in the beginning tho 😅
Mam please start phyton programming tutorials mam
Plz teach some tough pgms of all the topics in upcoming videos and give enough tough pgms mam
Mam big fan of your teaching mam🙏
Why do we use another for loop, can we write sum=sum+marks[I] in only one for loop
I have doubt mam...
In previous video, in scanning segment u have used '&' for a[i].. i.e scanf("%d",&a[i]); ... If it was internal pointer(as u said), why do we need to use of '&' here, since a[i] itself address...??
Hope u understand my question....
Pls reply mam.... Its confusing me bit...
👀eyes ❤
Mam please do python tutorial if possible
Madam please provide notes.So we will remember the topics for long time.or you keep the notes in paid option to buy the notes
Mam can u pls explain python also
❤️❤️❤️❤️
Why are we not using int main()?
take care maam 😉😉
this is a program for calculating percentage.
#include
int main(int argc, char const *argv[])
{
int marks[5],i,sum=0;
float percent;
printf("\tpercentage calculator!
");
printf("Enter marks of 5 subject of the student :
");
for ( i = 0; i
#include
void main()
{
int a[5];
for (int i = 0; i < 5; i++)
{
printf("Enter marks of student %d:", i + 1);
scanf("%d", &a[i]);
}
int sum = 0, marks = 0;
float avg;
for (int i = 0; i < 5; i++)
{
marks = marks + a[i];
}
sum = marks;
avg = marks / 5.0;
printf("The sum is:%d
", sum);
printf("The average of marks are:%0.2f", avg);
}
When I learn new things about programming, I forget the codes which I wrote before. Is this a sign that I don't deserve to be a programmer?
For eg : i have written armstrong program perfectly two days ago perfectly , and next day also , but after one day i forget the basic to use in it like sum of digits and count.??
Where i am doing mistake in learning?
Practice more
use spaced/exponnential repetition. after writing the program wait for 1 hour and then write code again. after that wait 5 hours and do the same. now wait 1 day, next wait 2 days, next wait 4 days, next wait 2 weeks etc.
"We are what we repeatedly do. Excellence, then, is not an act, but a habit. " -someone
Dont try to remember code at all. Concept and logic need to remember but not code. If you understand code and logic you can do code.
I8:9
If we don't assign sum=0 then what will happen????
cobol next pls
Mam can u please explain python language also mam
Yes mam
Yes python with django ide Pycharm
Structure using array I want 5 subject names without using loop....?
#include
void main()
{
int marks[5],sum=0,avg,i;
for(i=0;i
Wrong 😢
Wrong Hai bro because tumne jo avg element liya hai wo int hai or jisse divide kar re ho bhi int hai or jab do elements same data type ka ho to answer bhi usi data type mai aayega or average hamase float mai aata hai
How it gets marks value
Ma'am...What if we didn't mention the size of array at compile time and still we want the average ? How to solve this ?
Anyone who knows can answer pls...
Mam aapka institute kha par hai
Ma'am u r my crush😇😇
looking to see you more than your lectures don't feel bad madam i have told the truth