1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alex777 [14]
2 years ago
6

write statement for each of the following: a. print 1234 right justified in a 10-digit field. b. print 123.456789 in exponential

notation with a sign ( or -) and 3 digits of precision. c. read a double value into a variable number. d. print 100 in octal form preceded by 0. e. read a string into a character array string. f. read characters into array n until a non digit character is encountered. g. use integer variables x and y to specify the field width and precision used to display the double value 87.4573. 2 cmpe 30 h. read a value of the form 3.5%. store the percentage in float variable percent and eliminate the % from the input stream. do not use the assignment suppression character. i. print 3.333333 as a long double value with a sign ( or -) in a field of 20 characters with a precision of 3.
Computers and Technology
1 answer:
Stels [109]2 years ago
4 0

STATEMENTS :
a. printf("%10d", 1234);
b. printf("%+e", 123.456789);
c. scanf("%lf", &number);
d. printf("%#o", 100);
e. scanf("%s", string);
f. scanf("%[0123456789]", n);
g. printf("%*.*f", x, y, 87.4573);
h. scanf("%f", &percent); getchar();
i. printf("%+20.3Lf", 3.333333);

What is variable ?

In computer science, a variable is a labeled container for a certain set of bits or type of data. A variable is an abstract storage place with an associated symbolic name that stores a known or unknown array of data referred to as a value (like integer, float, string etc...). Eventually, a memory location may be used to link or identify a variable. In addition to using the variable name or the value itself, depending on circumstances, the stored value is typically referenced by the variable name.

To know more about variable
brainly.com/question/17344045
#SPJ4

You might be interested in
If a company doesn't distribute a computing use policy stating an employer's right to inspect employees' computers freely, inclu
tester [92]

Answer:

False

Explanation:

Without any police, a privacy can easily be compromised.

8 0
4 years ago
Which two statements are true about algorithms?
DENIUS [597]

Answer:

I. Algorithms can be written using pseudocode.

II. Algorithms can be visualized using flowcharts.

Explanation:

An algorithm can be defined as a standard formula or procedures which comprises of set of finite steps or instructions for solving a problem on a computer. The time complexity is a measure of the amount of time required by an algorithm to run till its completion of the task with respect to the length of the input.

The two statements which are true about algorithms are;

I. Algorithms can be written using pseudocode. A pseudocode refers to the description of the steps contained in an algorithm using a plain or natural language.

II. Algorithms can be visualized using flowcharts. A flowchart can be defined as a graphical representation of an algorithm for a process or workflow.

Basically, a flowchart make use of standard symbols such as arrows, rectangle, diamond and an oval to graphically represent the steps associated with a system, process or workflow sequentially i.e from the beginning (start) to the end (finish).

3 0
3 years ago
Read 2 more answers
A piano manufacturer employs piano technicians who inspect instruments before they are shipped to customers: a.When inspecting a
77julia77 [94]

Answer:

a.When inspecting an instrument, Technicians apply specific Inspection Tests; more than one Test can be applied for an inspection. Each piano is inspected by at least one technician, and a technician can inspect more than one instrument.

Explanation:

An Inspection test  is a formal approach used to test a system or product such as machines, package, software. This can be done by dimension inspection,  visual inspection, welding inspection, function test, factory acceptance test. Three major factors to be considered in the test plan include:

Test Coverage,

Test Methods, and

Test Responsibilities

There are specific inspection tests that should be applied when inspecting an instrument. A technician can apply more than one test type to assess the authenticity of a product. More than one technician is needed to ascertain the working mehanism of a machine to ensure it has no fault. A technician  can inspect more than one instrument depending on his diversity of specialization.

5 0
3 years ago
Why can't i answer any brainly questions?
tigry1 [53]

Answer:

you have to make a account

Explanation:

so yea

7 0
3 years ago
A student has a ten-year-old desktop computer that she only uses for word processing, but she would like to start using it to pl
wariber [46]

Answer:

She should buy a new one or buy a Gaming PC to upgrade the setup.

Explanation:

6 0
3 years ago
Other questions:
  • How can I print an int as a char in C?
    13·2 answers
  • What is the difference between file and directory​
    12·1 answer
  • Which of the following aspects of a file can you NOT set by using the Save As dialog box?
    8·1 answer
  • When an object is falling because of gravity, the following formulacan be used to determine the distance the object falls in asp
    9·1 answer
  • Jason works as a financial investment advisor. He collects financial data from clients, processes the data online to calculate t
    14·1 answer
  • What does wireless technology use to transmit signals?
    7·1 answer
  • Assume the availability of a function called printStars. The function receives an int argument. If the argument is positive, the
    5·1 answer
  • Define foreign key. What is this concept used for?
    6·1 answer
  • You have been asked to investigate a web server for possible intrusion. You identify a script with the following code. What lang
    10·1 answer
  • Complete the following sentence.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!