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
What controls network connectivity such as Wi-Fi and the GPS locator in a mobile device?
MakcuM [25]

Answer:

There are hybrid system that consist of WiFi, GPS, GSM and IP address to locate the mobile devices.

Explanation:

In Cellular phone communication, hybrid technique is used to locate to find the locations. It consist of WiFi, GSM, GPS and IP addresses. GPS technology is used with satellite communication. Location has been sent from satellite to the mobile network with the help of Google maps. There are few other techniques used to such as GSM based techniques that is used by the help of radio signals strength to find the location of the device. This technique is helpful in the areas where the many communication tower are there to locate the signal strength in the area of the mobile device. WiFi also used to locate the mobile device with the help of IP addresses.

In mobile phones, different combinations of all above technologies used to provide the network connectivity such as WiFi and GPS locator in the mobile Phone.  This is called Cellular locating technology.

5 0
3 years ago
List 7 ways of generating<br>airlines​
rjkz [21]

Answer:

1. <em>impr</em><em>ove</em><em> </em><em>air</em><em> </em><em>qua</em><em>lity</em><em>.</em><em>.</em>

<em>2</em><em>. </em><em>Eats</em><em> </em><em>food</em><em> </em><em>rich </em><em>in</em><em> </em><em>antio</em><em>xidants</em><em>.</em><em>.</em><em>.</em>

<em>3</em><em>. </em><em>Stop</em><em> </em><em>smok</em><em>ing</em><em>.</em><em>.</em><em>.</em><em>.</em>

6 0
3 years ago
Read 2 more answers
In 25 words or fewer, identify what calendar feature the recurring task function copies.
alexdok [17]
Shhsnanwnwnsjssnsnnwnsn
7 0
4 years ago
URGENT PLEASE HELP!!!!!
Allisa [31]

Answer:

in my opinion I choose the rule of simplification

7 0
3 years ago
How can simulations be used in education?
vesna_86 [32]
Simulation has a lot to do with computer coding, computer games, etc. Due to the use of how much computers are used in this day and age, simulations can be used even for homeschoolers in whom do school online. 
5 0
4 years ago
Read 2 more answers
Other questions:
  • How can you best protect yoursel and when using social media
    14·2 answers
  • Does the following program represent an algorithm in the strict sense? Why or why not? Count=0 while count (count ! =5): count =
    13·1 answer
  • A collection of methods that can be used by any class, as long as the class provides a definition to override the collection's a
    5·1 answer
  • Which of the following would be an example of a loss of record integrity in a
    12·1 answer
  • 4. What are five actions you should do to care for your camera?
    15·1 answer
  • (40 pointsAnd brainliest answer ASAP) Maria is recording her friend’s graduation ceremony. How can Maria ensure that the video i
    9·1 answer
  • Pleases Help ME An example of a _________________ impact is when a product is back ordered and the business contacts the custome
    5·1 answer
  • 50 PTS
    5·1 answer
  • Hey IM new uh what is this?
    5·1 answer
  • Which of the following is the best description of an ip address?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!