programming

Write a function which receives a float and an int from main ( ), finds the product of these two and returns the product which is printed through main ( )

Function receives a float and an int from main ( ) finds the product of these two and returns the product which is printed through main ( )

Function receives a float and an int from main ( ), and product of these two Numbers Object: :  Write a function that receives a float and an int from main ( ), finds the product of these two and returns the product which is printed through main ( ). C++ projects for beginners with …

Function receives a float and an int from main ( ) finds the product of these two and returns the product which is printed through main ( ) Read More »

Using function, write a complete program that prints your name 10 times. The Function can take no arguments and should not return any value

Using function, write program that prints your name 10 times. The Function can take no arguments and should not return any value

Using function, write a complete program that prints your name 10 times Object: Using function, write a complete program that prints your name 10 times. The Function can take no arguments and should not return any value. C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> using namespace std; void nam(); void main() { …

Using function, write program that prints your name 10 times. The Function can take no arguments and should not return any value Read More »

Write a program that declares and initializes two numbers with your roll no and your friend roll no and displays the greater of the two

Write a program that declares and initializes two numbers with your roll no and your friend roll no and displays the greater of the two

Declares and initializes two numbers and displays the greater of the two Object: Write a program that declares and initializes two numbers with your roll no and your friend roll no and displays the greater of the two C++ projects for beginners with source code Code: #include<iostream> #include<conio.h> using namespace std; void main() {        …

Write a program that declares and initializes two numbers with your roll no and your friend roll no and displays the greater of the two Read More »

Write a program that take four floating numbers from keyboard and prints their sum, product and average.

Write a program that take four floating numbers from keyboard and prints their sum, product and average.

Write a program that takes four floating numbers from the keyboard and prints their sum, product, and average. Code: #include<iostream> #include<conio.h> using namespace std; void main() {        float n1,n2,n3,n4,sum,pro,avg;        cout<<“Please Enter Any Four Numbers.\n\n”;        cin>>n1>>n2>>n3>>n4;        sum= n1+n2+n3+n4;        pro= n1*n2*n3*n4;        avg= (n1+n2+n3+n4)/4;        cout<<“\nAddition of Four Number is: “<<sum<<endl;        …

Write a program that take four floating numbers from keyboard and prints their sum, product and average. Read More »