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
faust18 [17]
3 years ago
5

Write the code to declare a variable to hold the value of the grade you hope to get in this class.

Computers and Technology
1 answer:
yaroslaw [1]3 years ago
7 0

Answer:

// code to declare and read grade

#include <stdio.h>

// main function

int main(void) {

   // if grade is character

char grade;

printf("Enter your grade:");

// read grade from user

scanf("%c",&grade);

// print grade

printf("your grade is:%c",grade);

return 0;

}

Explanation:

Declare a char variable "grade" to store your grade in the class.If the grade is numeric then  we can Declare it as either "double grade;" or "int grade;". To read a value, scanf() function is used from stdio.h.Read a grade from user  and assign it to variable "grade".

Output:

Enter your grade:B

your grade is:B

You might be interested in
Clara writes online articles based on world religions. Her articles have references to dates. Which HTML element will help her d
brilliants [131]

Answer:

Available Options are :

A <b>

B <l>

C <body>

D <small>

Ans : A <b>

Explanation:

Normally AD and BC are written in bold letters.

for example : The terms anno Domini (AD) and before Christ (BC).

Within available option the best option to choose is <b>

The <body> element used to define the document body.

The <small> tag used to defines smaller text

But, the best option to choose is in case if they are using the HTML5  then html <time> element will be used to display BC date and AD dates.

for ex : <time datetime="-314-07-01"

calendar="Ancient Roman">1 July 314 BC</time>

3 0
3 years ago
When you create a new slide in a presentation program, you are promoted to choose a placeholder. True or false?
andrey2020 [161]
If you so choose, you can pick a layout for your slide, this comes up as a prompt, not a promotion.

I think false.
3 0
4 years ago
Read 2 more answers
Which is true of case-based reasoning (CBR)?
DaniilM [7]

Answer:

The correct option is Option C: It matches a new problem with a previously solved problem and its solution.

Explanation:

Case-based reasoning (CBR) is used when someone tries to solve new problems based on old problems that were similar. The person applying case-based reasoning would look for the solutions to these similar past problems and try to apply them to the new case. For example, a doctor who tries to treat a patient based on what was successful with a prior patient with a similar problem is applying case-based reasoning. In some instances, these problems are available in a database and ideally, that is how it is conceived, but it would depend on the field and the kind of problems. There is no universal global network dedicated to CBR as a whole (other than generic searches on the internet in general). One example of a specific CBR database is the European Nuclear Preparedness system called PREPARE.

4 0
3 years ago
BRAINLIEST How come when I run out of answers on one Brainly account and I go to the other I'm already out of my daily limit of
Nat2105 [25]

Answer:

You just need to skip by watching a video. Its not that long, be patient its only 30 seconds

Explanation:

8 0
4 years ago
Read 2 more answers
Jeffrey would like to send a monthly newsletter to each person signed up to receive online communication. Which tool would be be
harina [27]

B. Listserver

a listserver is an application that sends messages to subscribers. Hope you get an A!! <3

8 0
4 years ago
Read 2 more answers
Other questions:
  • . What is an APT? What are some practical strategies to protect yourself from an APT?
    7·1 answer
  • How to change screen resolution in windows 10?
    5·1 answer
  • You have three users who travel to four branch offices often and need to log on to the RODCs at these offices. The branch office
    12·1 answer
  • Write a program that calculates taxi fare at a rate of $1.50 per mile. Your pro-gram should interact with the user in this manne
    12·1 answer
  • How to download gta5 ​
    14·2 answers
  • With the range E2:E30 selected, create a new conditional formatting rule that uses a formula to apply yellow fill and bold font
    10·1 answer
  • Scientists measure an object’s mass in kilograms and its weight in newtons. If you knowthe amount of mass of an object in kilogr
    5·1 answer
  • Rey is recording the dialogues and sound effects separately in the studio, as he is not happy with the sound quality recorded on
    9·1 answer
  • A company is building an expert system for use in stock trading. In which part will they have to invest the most if they have to
    15·1 answer
  • What is the “data” in an SRS's data flow diagram?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!