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 find the maximum from two numbers:
Program is to find the maximum from two numbers entered by the user having pointer variable as parameter
void main()
{
clrscr();
int a,b,ans;
cout<<" enter the first number ";
cin>>a;
cout<<" enter the second number ";
cin>>b;
ans=*max(&a,&b);
cout<<" The maximum of two numbers is :"< } int *max(int *a,int *b) { if (*a>*b) return a; else return b; }
}
int *max(int *a,int *b)
if (*a>*b)
return a;
else
return b;
Important Note: No course works, which have been submitted via hard copies or emails, will be accepted a short essay below edited in a document (word, other) files with
find largest clique present in graph
Aim: To implement a program to convert time in 24 hour format to 12 hour format. Code: #include #include #include class time24 {
program with coding
Data is required to be fed into the program (input) and sent out of the program (output). Considering the draughtsman using a CAD station, the input is his commands to cause lines/
Define pure virtual function or abstract class?
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
A: It let you to provide an intuitive interface to users of your class, as well as makes it possible for templates to equally work well with classes and built-in/intrinsic types.
Within programs we very often want to execute a different section of code, depending upon various conditions within C the If statement is used to achieve this. The If statement con
Define Functions with arguments and no return values The calling function will read a data from the terminal and pass it on to called as function and this will work good as the
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