Answer:
Yes
Explanation:
Spreadsheets should be used to track time worked at a job because it would make it easier to use and see rather than another platform.
Answer: True
Explanation: HTML 5 is Hypertext markup language version 5 that helps in the defining of different types of web pages.This version of HTML comes with the facility of supporting various audios and videos.
It can also keep up with the JavaScript so that it can execute in the web browser.This programming language can help in the modification of web pages and adjustment of the web content. HTML can be used in smart phones , tablets, Smart television ,etc.Thus, the given statement is true.
Answer:
The ouput of the given code is :
22
is "Tom's age.
Explanation:
Here in this code the variable user_name and user_age are initialized to "Tom" and 22 respectively as statement is given in the question i.e cout << user_age << " \nis " + user_name << "'s age.";.This line will print the user_age i.e 22 after that the control moves to the next line and print is "Tom's age.
Following are the code in c++
#include <iostream> // header file
#include <string>
using namespace std;
int main() // main function
{
string user_name="Tom";
int user_age= 22;
cout << user_age << " \nis " + user_name << "'s age.";
return 0;
}
Output:
22
is "Tom's age.
Answer:
The modified program is as follows:
user_val = int(input())
cond_str = 'non-negative'
if user_val < 0:
cond_str = 'negative'
print(user_val, 'is', cond_str)
Explanation:
This gets input for user_val
user_val = int(input())
This initializes cond_str to 'non-negative'
cond_str = 'non-negative'
If user_val is less than 0
if user_val < 0:
cond_str is updated to 'negative'
cond_str = 'negative'
This prints the required output
print(user_val, 'is', cond_str)
Its d..............................................................