Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Define a structure in C++:
Write a program a structure in c++ program.
void main()
{
struct player
char name[20];
int age,height;
} ;
struct player p[3];
int i,j,k;
clrscr();
for (i=0;i<=2;i++)
printf("Enter the name of player %d ,age %d,height %d\n",i+1,i+1,i+1);
scanf("%s %d %d",p[i].name,&p[i].age,&p[i].height);
}
printf("%s %d %d\n",p[i].name,p[i].age,p[i].height);
getch();
i can work
PROGRAM TO FIND WHETHER A NUMBER IS ODD OR EVEN int main() { int number ; printf("Enter a whole number\n"); scanf("%d",&number); if(number % 2 == 0) printf("n
Force, F = ma
A: Mostly can be overloaded. The only C operators which can't be are. and?: (and sizeof, that is technically an operator). C++ adds a few of its own operators, mostly which can be
For the circuit shown in Figure, verify the p.d. across resistor R3. If the total resistance of the circuit is 100Ω, verify the current flowing by resistor R1. Find also the
Problem Implement a class called employee that contains name, employee number and department code. Include a member function getdata() to get data from user and store it in the
E v o l u t i o n of Software: In the past stage of programming the software's were developed in Machine language Using binary numbers 1's and 0's. Later it convert
Use of random function: int main(void) { int i,j; for(j=0;j { // randomize(); for(i=0;i printf("%d\n", ran
Aim: To implement a program to convert time in 24 hour format to 12 hour format. Code: #include #include #include class time24 {
write a program that counts the number of occurances of the string in the n-th padovan string p(n)
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd