Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 42,504 points

Jazz

Favorite Answers15%
Answers559

Hi! i m Jas Well I believe in simple living & high thinking My aim in life is to become an astronaut Nice to meet u. Hav a great day/night

  • pleez answer only if u know?

    1. (TCO 2) The users of your C++ program complain that the program's window exits before they have a chance to view the results. How can you remedy this problem? (Points: 2)

    a. add "cin.ignore(2)" to the end of the program's code

    b. add "cout.putback(2)" to the last line of code

    c. add "endl" to the end of the last line of code

    d. add "cin.get(2)" to the end of the program's code

    2. (TCO 2) Input devices include _______. (Points: 2)

    a. scanners and monitors

    b. bar-code scanners and keyboards

    c. digital cameras and monitors

    d. scanners and speakers

    3. (TCO 1) Accepting input from _________ is the most effective way to process large amounts of data. (Points: 2)

    a. the keyboard

    b. the mouse

    c. cut and paste

    d. a file

    4. (TCO 2) The math.h function cosh() is an example of a(n) _________ function. (Points: 2)

    a. exponential

    b. hyperbolic

    c. logarithmic

    d. trigonometric

    5. (TCO 1) Which line contains an error?

    1) #include

    2) using namespace std;

    3) void main()

    4) {

    5) int x;

    6) cout << "Enter a value for x: ";

    7) x >> cin;

    8) cout << endl << "The number you entered for x is: "<< endl;

    9) }

    a line 4)

    b line 5)

    c line 6)

    d. line 7)

    6. (TCO 1) Given this input from the console:

    A 100

    the following lines of code ______ compile but _______ result in an input failure:

    int A, B;

    cin >> A >> B; (Points: 2)

    a. will, will

    b. will, will not

    c. will not, will

    d. will not, will not

    7. (TCO 2) Which output will this code produce?

    #include

    #include

    using namespace std;

    void main()

    {

    double a = 7865.34566;

    cout << fixed << showpoint;

    cout << setprecision(3) << endl;

    cout << "a = " << a << endl;

    cin.ignore(2);

    } (Points: 2)

    a. a = 7865.34566

    b. a = 7865

    c. a = 7865.345

    d. a = 7865.34

    8. (TCO 1) Which output will this code produce?

    #include

    #include

    using namespace std;

    void main()

    {

    float a = 30.879;

    cout << fixed << showpoint;

    cout << setprecision(2);

    cout << "the number is: " << a << '\n' << "thank you" << endl;

    cin.ignore(2);

    }

    a. the number is: 30.87

    thank you

    b. the number is: 30.87thank you

    c. the number is: 30thank you

    d. the number is: 30

    thank you

    9. To output data to a file, your program must ________.

    a declare its own output file stream variable

    b include the header

    c. open the output file

    d. all of the above

    10. You need to calculate c, which is a quarter of the hypotenuse of a right triangle with side lengths a and b. How can you express the formula for c using math.h functions?

    2 AnswersComputer Networking1 decade ago
  • DID U HEAR SOMETHIN ABOUT MUMBAI?

    congratulations 2 all of the indians.There is a good news "mission complete" All of us are safe now cuz all the terrorists are killed & some are arrested by the brave people of india

    & i salute 2 all those who have given their lives to safe some part of our country. Lets pray 4 them and wat do u think about those soldiers who have helped us in completing the mission ithout thinkin about their

    I mean with wat thing or gift they should b honored.

    26 AnswersMumbai1 decade ago
  • Can u help me plz??????? ?

    I have got a homework "To write a resume letter" .Actually i have no idea about wat this is well i want a job for astronaut or anything good that's all I know.

    I dont want any sites plz help me doing this.

    Can u plz write this

    14 AnswersWords & Wordplay1 decade ago
  • help me out plzz ?

    Hey friends

    Can any one of u tell me any site which tell u the studies of 11 grade in Ney york [USA]

    u will b appericiated

    THanx

    9 AnswersStudying Abroad1 decade ago
  • I want to ask u all a ques 2 all my contacts ???

    Are u basically from india ???????

    plz dont report this ques

    34 AnswersFriends1 decade ago
  • hello?????

    hey sandeep sagar do u live in punjab.[junior astronaut] i wanted 2 tell u that my aim is too 2 b an astronaut & i m in usa

    7 AnswersLanguages1 decade ago
  • tell me ???

    how 2 play game on calculator

    7 AnswersVideo & Online Games1 decade ago
  • please tell me quickly?

    do any of u know that where is miss pooja[punjabi singer ] coming this sunday on 11 may at which temple in New York

    2 AnswersOther - India1 decade ago
  • do u know that ????????????

    how to make a spicy aloo parantha

    2 AnswersCooking & Recipes1 decade ago
  • indian food?

    have u ever eaten any indian food ? how does it taste & which is the best ?

    11 AnswersEthnic Cuisine1 decade ago
  • importance?

    do you think that for living a good life having fair color is much important.

    8 AnswersOther - Social Science1 decade ago
  • Reply quickly.?

    MY BROTHER ALWAYS FIGHTS WITH ME , CALLING ME WITH BAD NAMES & SAYING THAT MY FACE IS VERY BAD, DULL & MORE. I AM FED UP WITH ALL THIS. SO WHAT SHOULD I DO ???

    1 AnswerFamily1 decade ago