subject

Assume a is of type int and b is of type double. examine each assignment statement for syntax. if the statement is invalid, state why. if the statement is vaild, write valid.

9. a =b;
10. b=a;
11. a = a + 1;
12. b + 1 = a;
13. a = 1.2;
14. a = a +b;
15. b = b - 14.9;
16. a * a = b;

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:40
1. the program must provide following functions to extract some statistics. note that the data_list parameter specified in these functions may be the same for all functions or different for different functions—that is your choice. a skeleton file is provided on mirmir. a) open_file()prompts the user to enter a year number for the data file. the program will check whether the year is between 1990 and 2015 (both inclusive). if year number is valid, the program will try to open data file with file name ‘year.txt’, where is the year. appropriate error message should be shown if the data file cannot be opened or if the year number is invalid. this function will loop until it receives proper input and successfully opens the file. it returns a file pointer and year. i. hint: use string concatenation to construct the file name b) read_file(fp)has one parameter, a file pointer read. this function returns a list of your choosing containing data you need for other parts of this project. c) find_average(data_list) takes a list of data (of some organization of your choosing) and returns the average salary. the function does not print anything. hints: i. this is not the average of the last column of data. it is not mathematically valid to find an average by finding the average of averages—for example, in this case there are many more in the lowest category than in the highest category. ii. how many wage earners are considered in finding the average (denominator)
Answers: 1
question
Computers and Technology, 22.06.2019 09:00
Designing a mobile web page is a little different from designing a regular web page. name at least three features that should be considered when designing a website that is mobile phone-friendly, and briefly explain why they are important.
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
question
Computers and Technology, 24.06.2019 12:50
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
Answers: 1
You know the right answer?
Assume a is of type int and b is of type double. examine each assignment statement for syntax. if th...
Questions
question
Mathematics, 20.11.2020 03:50
question
Mathematics, 20.11.2020 03:50
question
Mathematics, 20.11.2020 03:50
question
Mathematics, 20.11.2020 03:50
question
Computers and Technology, 20.11.2020 03:50
question
Mathematics, 20.11.2020 03:50
question
Mathematics, 20.11.2020 03:50
Questions on the website: 13722367