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!
Program is to store marks and name, roll no in a file:
class stud
{
int rno;
char name[20];
int m1,m2,m3;
public:
void accept()
cout<<"enter the roll no. : ";
cin>>rno;
cout<<"enter the name : ";
gets(name);
cout<<"enter marks of 3 subjects : ";
cin>>m1>>m2>>m3;
}
};
void main()
clrscr();
stud s;
s.accept();
ofstream a ("stud.dat" , ios::binary | ios::app);
a.write ( (char *) &s , sizeof(s) );
a.close();
Unary Minus Operator( Negation) This operand can be used to negate the value of a variable. It is also used to state a negative number, here a minus(-) sign is prefixed to the
#questio c++ program for drawing thick line
Q: How can one encourage his (older) compiler to check new to see automatically if it returns NULL? A: His compiler eventually will. If he contain an old compiler wh
Binomial coefficients are the numeric factors of the products in a power of a binomial such as (x + y)n. For example, (x + y)2 = x2 + 2 x y + y2 has the coefficients 1 2 1. Binomia
Ask4. Write a query to display the columns listed below. The query should list each customer in which the video rental is overdue. The Days_Overdue column should calculate the numb
Unlike C++, other programming languages have associative arrays that allow array indices to be strings instead of just integers. You are to create a template class, SVector, that i
Write a ‘C’ program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number.
Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.
Addition of array elements: #define rows 3 #define cols 3 void main() { int i=0,j=0,sum=0; int arr[rows][cols];
code of this game
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