all your videos are great but you should also include scanf function in your programmes otherwise you are missing the fun part!
@LearningLad7 жыл бұрын
i'm planning to remake this video series with better equipment's. i'll use scanf in those video's.
@Sivasri28126 жыл бұрын
Thank you for the informative video sir. I have a doubt that why did you use puts( ) function here
@akoanani9 жыл бұрын
thanks again.....
@vaisalipatnaik48015 жыл бұрын
what compiler do you use mate
@surendrapandit69617 жыл бұрын
sir how to use pass fail concept in this problem. Write a C program to find the total and average of marks for 5 students in English, Hindi, Social Science, Science and Maths. The maximum marks in each subject is 100 and the pass marks in each subject is 40. Note : Use structures concep
@poisonbrother98167 жыл бұрын
hi, i attached following code can you use this. i use only three subject you can modify yourself. #include struct StudentData { int regno, m1, m2, m3, total,avg; char name[20]; char dept[20]; }; void structre() { int n; int i; printf("Enter no of records"); scanf("%d", &n); struct StudentData s[n]; for(i=0;i35)&&(s[i].m3>35)) { printf("pass\t"); } else { printf("fail\t"); } printf("%d%%\t ",s[i].avg); } } int main() { structre(); }
@shivamthakur27248 жыл бұрын
really helpfull.. . thanks!!. XD
@LearningLad8 жыл бұрын
welcome :)
@akashmore2656 жыл бұрын
So, a structure is like a constructor?
@mayankmadhav23708 жыл бұрын
great job ....but the video and audio qualities are worse ...please do something for that
@shivamthakur27248 жыл бұрын
They are poor, but dont you think, this guy is solving a huge problem of people by teaching us? Moreover there is no need to spend money like rs9000 for mic. and other on capturing device. its an educational vid. and this vid. had done its purpose. You want good quality vid? Go and watch movie trailers then. dont waste your time here.
@mayankmadhav23708 жыл бұрын
Shivam Thakur I think you didn't see my 1st line. I've written there "great job". So I'm praising his work. Just telling someone to improve on something doesn't always mean criticizing.
@PsSarvna7 жыл бұрын
when I compile the program ,popup ocuurs that structure.exe stopped working
@LearningLad7 жыл бұрын
check your program for errors. may be you are trying to access outside the array. if you cant solve this problem, pls send us more detail :)
@PsSarvna7 жыл бұрын
LearningLad thanks :) problem solved
@n.rukkumani72978 жыл бұрын
struct student { int rollno; char name[20]; int age; int marks; }anil,ajay,,akshay; in this declaration how to assign the value to anil ajay,akshay
@narain44296 жыл бұрын
rukkumani n You can assign by , Struct student anil={"rukkumani",4444,18};
@tanmaysonawane75278 жыл бұрын
why you use puts?
@tejas12959 жыл бұрын
#include #include struct student{ char name[20]; int age; float marks; }student1; int main() {char ch[20],temp,y,n; int i; float j; printf("enter your name "); gets(ch); printf("enter your age "); scanf("%d",&i); printf("enter your marks "); scanf("%f",&j); printf("The details provided by you are as follow: Name:%s Age:%d Marks:%f ",ch,i,j); printf("Is the data provided by you correct?"); printf("Press Y/N to continue "); scanf("%c",&temp); if(temp== 'y'){ printf("Your choice is %c ",temp); printf("Thankyou for the information"); printf("writing data to student1"); strcpy(student1.name,ch); student1.age=i; student1.marks=j; printf("Data written Successfully"); printf("Data written to file is Name:%s Age:%d Marks:%f",student1.name,student1.age,student1.marks) ; } else{ printf("Start Again"); } getch(); } Sir,in this program,the scanf function for reading the input choice of user i.e. y or n,is not functioning properly.It directly executes the else statement.When i tried the scanf function in a separate program,it worked properly.Why so?Am i wrong anywhere in this program
@LearningLad9 жыл бұрын
+tejas1295 use a space in scanf while reading input for temp like scanf(" %c",&temp); it will ignore all the whitespace characters and ur program will run properly. Hope this helps :)
@herr_pouya8 жыл бұрын
+LearningLad Anil this is video 50 ,you need to fix the title which you wrote "49". Thanks for these amazing tutorials also!
@aakash43518 жыл бұрын
I had watched all other previous lecture and they are great but this seems to me quite aimless and incomplete.