Question
Can anyone OOP expert solve this question for me???i need to solbe this please
in progress 0
4 weeks 1 Answer 20 views

Question
please help me . where is the problem in choice 1 .. the 1st alphabet is not swapping it's getting vanished .. #include<stdio.h> int main() { int choice; printf("choicen1:alphabet,n2:numbern"); scanf("%d" , &choice); if(choice==1) { char ch1,ch2,temp; printf("enter the 1st:"); scanf("%s" , ...
0
3 months 0 Answers 53 views

Question
#include<stdio.h> #include<conio.h> #include<windows.h> int main() { FILE *file; char name[20]; int leangth = strlen(name); int i,age,phn_num; float result; fopen("admitionData.text","w"); if(file==NULL) { printf("Error"); } else { system("cls"); printf(" Enter Student First Name : "); scanf("%s",name); printf(" Enter Student Age : "); scanf("%d",&age); printf(" ...
0
4 months 0 Answers 56 views

Question
A particle has initial velocity and acceleration. If its velocity after certain time is v then what will its displacement be in twice of that time? Input The input will contain two integers in each line. Each line makes one ...
solved 0
5 months 2 Answers 118 views

Question
#include<stdio.h> void sqr_it(int num); int main() { sqrt(10.o); return 0; }void sqr_it(int num) { printf("%d"num*num); }
in progress 0
5 months 1 Answer 91 views

Question
Create 3 classes named base, derived1,derived2. Here base class is inherited by derived1 and derived2. now write a function named void_print() in the base class which will print the message "in the base class". and then redefined void_print() function in ...
in progress 2
6 months 24 Answers 251 views

Question
Create an abstract class called Phone. Phone will have only one function called callReceive(). Create a derived class called Landline and Mobile where Landline will define callReceive() so that it will show output "pick up" and similarly Mobile will show ...
in progress 0
6 months 23 Answers 238 views

Question
Write a program by using two classes called A and B where the constructor of each class takes one int and one char type value as an argument and the constructor shows the message "in oop class". Complete the program ...
in progress 0
6 months 19 Answers 284 views