No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
#include <iostream> using namespace std; // allow use of standard names like cin, cout, etc. int main (void) { //variables char answer1, answer2, answer3, answer4, stall; // capital letters selected by the test taker. int numberCorrect=0; // to determine the IQ cout<<" "<<endl; cout<<" ******************************************************************************"<<endl; cout<<" * *"<<endl; cout<<" * … | |
here are the question: #include<iostream> #include<string> using namespace std; int main() { string strWords1, strWords2; strWords1 = "To Be Or Not To Be"; strWords2 = "That Is The Question!"; return 0; } --------------------------------------------- Modify the program to include: a) a statement to replace the last character in the strWords2 with … ![]() | |
i need to write a function called bmiCalculator, which calculate based on: a) the function is to be passed the weight n height as parameters. the weight and height in pounds and feet, respectively. b) the function should convert pounds to kilograms (0.454kilograms per pound) and feet to meters (0.3046 … | |
Re: here are the question, a) Write a function named OutOfOrder that takes as input parameters an array of doubles named Arr and an int parameter named size and returns a value of type int. The return value is -1 if the array is in order, meaning that the first element … | |
Question: Explain what the following program does. #include <iostream> using namespace std; int whatIsThis( int [], int); int main() { const int arraySize = 10; int a[arraySize] = {1,2,3,4,5,6,7,8,9,10}; int result = whatIsThis(a, arraySize); cout << “Result is “ << result << endl; return 0; } //what does this function … | |
here are the question, a) Write a function named OutOfOrder that takes as input parameters an array of doubles named Arr and an int parameter named size and returns a value of type int. The return value is -1 if the array is in order, meaning that the first element … | |
here are the program below reads five numbers, find their sum, and print the numbers in reverse order. #include <iostream> using namespace std; int main() { int item0, item1, item2, item3, item4; int sum; cout<<"Enter five integers: "; cin>>item0>>item1>>item2>>item3>>item4; cout<<endl; sum = item0 + item1 + item2 + item3 + … | |
here are the question: write a program that inputs a series of integers and passes them one at a time to funtion even, which uses the modules operator to determine whether an integer is even. The function should take an integer argument and return true if the ineteger is even … |
The End.