subject

Hãy cho biết đoạn chương trình sau đưa ra màn hình kết quả là gì? x= 10
if x % 4 ==0:
x= x+4
else
x= x-2
print(x)
A. 10 B. 14 C. 8 D. 2

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 22.06.2019 19:20
1)consider the following code snippet: #ifndef book_h#define book_hconst double max_cost = 1000.0; class book{public: book(); book(double new_cost); void set_cost(double new_cost); double get_cost() const; private: double cost; }; double calculate_terms(book bk); #endifwhich of the following is correct? a)the header file is correct as given.b)the definition of max_cost should be removed since header files should not contain constants.c)the definition of book should be removed since header files should not contain class definitions.d)the body of the calculate_terms function should be added to the header file.
Answers: 1
question
Computers and Technology, 23.06.2019 15:10
What role did women fill during world war ii?
Answers: 1
question
Computers and Technology, 24.06.2019 08:10
Where are american poets found in the dewey decimal system
Answers: 1
You know the right answer?
Hãy cho biết đoạn chương trình sau đưa ra màn hình kết quả là gì? x= 10
if x % 4 ==0:
...
Questions
question
English, 01.07.2021 08:30
question
Mathematics, 01.07.2021 08:30
question
Mathematics, 01.07.2021 08:30
question
Mathematics, 01.07.2021 08:30
Questions on the website: 13722361