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
inn [45]
3 years ago
11

Write a c program using loops to generate following output.

Computers and Technology
1 answer:
Keith_Richards [23]3 years ago
8 0

Answer:

#include <stdio.h>

int main()

{

for (int n = 12; n > 0; n--) {

 printf("%d x 2 = %d\n", n, n * 2);

}

}

Explanation:

Only one loop.

You might be interested in
Think of an example in your life where a number could be described as data, information, and knowledge
zhannawk [14.2K]

Answer:

how many event you have been too in the last month (well non during this time but as an example)

Explanation:

4 0
3 years ago
Question / UJU
DIA [1.3K]

Answer:

Option D: If it is the month of January, then the temperature is cool.

Explanation:

A conditional statement is the one having an if condition in it that says, if the condition is true proceed to the next statement, else not.

Given statements are:

  • If it is the month of January, then it is winter.

This can be written as: if (January)⇒Winter

  • If it is winter, then the temperature is cool.

This can be written as: if (winter)⇒ Temperature(cool)

So by combining both the statements, the winter clause will be connected  and we get:

if(January)⇒Temperature (cool)

This can be written as:

  • If it is the month of January, then the temperature is cool.

So, Option D is the correct answer.

i hope it will help you!

5 0
3 years ago
Print 'userNum1 is negative" if userNum1 is less than 0. End with newline Convert userNum2 to 0 if userNum2 is greater than 9. O
dlinn [17]

Answer:

#include <stdio.h>

int main()

{

   int userNum1;

   int userNum2;

   

   userNum1 = -1;

   userNum2 = 7;

   

   if (userNum1 < 0)

       printf("userNum1 is negative. \n");

       

   if(userNum2 > 9)

       userNum2 = 0;

   else

       printf("userNum2 is less than or equal to 9.\n");

   return 0;

}

Explanation:  

Initialize userNum1 and userNum2.

If userNum1 is less than 0, print 'userNum1 is negative" and end with newline.

if userNum2 is greater than 9, assign 0 to userNum2.

Otherwise, print "userNum2 is less than or equal to 9 and end with newline.

8 0
3 years ago
There are 40 houses if company y provides electricity to 2/5 of the houses how many houses as company y provide electricity to
yulyashka [42]
The article for the assignment I need help with part 2xexbixneixe
6 0
3 years ago
"Which hash algorithm's primary design feature is two different and independent parallel chains of computation, the results of w
Galina-37 [17]

Answer:

Option C i.e., RIPEMD is the correct option for the following question.

Explanation:

Because RIPEMD is the algorithm that is used for the hash primary design characteristic which has two independent and unlike parallel chains of the calculation and computation and the outputs of which are then linked to the process at the end. It is also used for the safe process of replacing the 128-bit hash method.

Other options are wrong because these are not related to the following statement.

5 0
3 years ago
Other questions:
  • This assignment is to read from an input file and process the data for a group of people. Your program calculates the interest a
    5·1 answer
  • Complete the following method named replaceEvens that receives the parameter numbers which is an array of integers. The method m
    5·1 answer
  • We can include following item(s) during configuration itemidentification:
    10·1 answer
  • Disk ____ is the ability to spread data over multiple disks or volumes
    7·1 answer
  • A teacher wants to create a list of students in her class. Using the existing Student class in this exercise. Create a static Ar
    14·1 answer
  • Suppose you have a program P and 90 percent of P can be parallelized, but 10 percent of P is inherently sequential and cannot be
    10·1 answer
  • When we type there Is blue like thing blinking what's that called ​
    8·2 answers
  • What is the function of the NOS? Select all that apply.
    5·2 answers
  • Can an SQL function return multiple values? No answer needed, take the points.
    12·1 answer
  • Explain in detail what this code does, Whats the flow in it, and whats the risk that its creating and what can i do to fix it? (
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!