May 16, 2018 at 7:48pm UTC
Been working on this question I am nt sure if im doing the right theng please help
4 1 Write the statement that u pd ates the val ue of an integer variable total by ad ding 1o to 1t Assu me that the va ria ble 1s a lready declared and m1t1alised to zero (2)
4 2 Write the statement that declares a named constant CURRENCY and associates 1t with value
4 3 Wnte the statement that declares an array named c of size 1o with elements of type
customer ? (2)
4 4 Consider the statement
char ch = 'A'
Write a single C++ statement that will convert the char variable ch to its ASCII code and display 1t on the screen (2)
4 5 Consider the statement
string name = "Michael Jackson" ,
Write the if cond1t1on that will check whether the second name m the string 1s "Jackson" or not (Assume one space between the two names) (2)
I QUESTION 5 8 MARKS
5 1 Wnte the statement for the function call which passes a two d1mens1onal array sales [4 ] [3 J
to the void function display ( ) (2)
5 2 Wnte the function header for mult iply ( ) function that has two floating point numbers as value parameters and returns the result of multiplying them (2)
5 3 Wnte the statement that assigns a value 25 to the last element 1n the 4th row of integer array
student (50 ] [SJ ( 2)
5 4 Wnte the condition that evaluates to false and causes the whi le loop to exit when the value
in the loop control variable score 1s NOT in the range 0 to 100 (both included m the range)
May 16, 2018 at 8:10pm UTC
yes i have copied from a previous exam I needed someone to help if I understand, i GUES i WAIT FOR A GOOD SAMARITAN TO HELP if nt to bad for me.
May 16, 2018 at 8:36pm UTC
I had a better hand written ocr 15 years ago. I have an idea for your next project.
Ill get you started, but if you can't do these, you are going to fail, and probably deserve it, as they are extremely basic.
4) customer c;
5) cout << (int)ch;
May 16, 2018 at 8:37pm UTC
keskiverto IS your good samaritan. You are just too lazy and stupid to recognize one.
Anyone who "helps" this moron should be kicked off the site.
The laziness is INCREDIBLE! He didn't even fix up the garbage that he pasted.
No attempt to answer the questions at all.
May 16, 2018 at 8:44pm UTC
Thanks a lot I guess I deserve to be called such and wonder if you were called such when you started your education and especially programming nevertheless will work with what I know if Ii fail will try again till I know it like you know
Thanks to those who tried may he supply more to your need