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
svetoff [14.1K]
3 years ago
14

Type a C statement that declares and initializes variable taxRate to the value 0.085. Make sure to include a prefix 0 before typ

ing the .085
Engineering
1 answer:
Blizzard [7]3 years ago
7 0

Answer:

float taxRate = 0.085f

Explanation:

Variable initialisation in C (or any other programming language) is a way of declaring variable and assigning some values to the variable declared.

To initialise a variable in C, the data type, variable name and value are needed.

The following syntax must be obeyed when initialising a variable:

Data-type variable-name = value

Data-type represents which type of value is going to be stored in the variable.

Variable name, also known as identifier represents valid variable name (name of the allocated memory blocks for the variable).

Value represents the value or content of the declared variable.

You might be interested in
Ayo, how do I change my username on here?
nydimaria [60]

Answer:

I'm not sure

Explanation:

eeeeeeeeeeeeeeeeeeeeeee

4 0
3 years ago
The period of an 800 hertz sine wave is
sukhopar [10]

Explanation:

White Board Activity: Practice: A sound has a frequency of 800 Hz. What is the period of the wave? The wave repeats 800 times in 1 second and the period of the function is 1/800 or 0.00125.

3 0
2 years ago
Create two arrays with 5 elements each: one will hold Strings and the second will hold integers. Write a program to ask the user
MrMuchimi

Answer:

#include <iostream>

#include <iomanip>

#include <string>

using namespace std;

int main() {

   string name[5];  

   int age[5];  

   int i,j;  

   for ( i = 0; i<=4; i++ ) {  

       cout << "Please enter student's name:";  

       cin >> name[i];  

       cout << "Please enter student's age:";  

       cin >> age[i];          

   }  

for (i=0;i<=4;i++){

   cout<<"Age of  "<< name[i]<<"  is  "<<age[i]<<endl;  

}

}

Output of above program is displayed in figure attached.

5 0
3 years ago
What is Elon Musk mad about?
boyakko [2]

Answer:

Tesla CEO Elon Musk tweeted that the company's stock was too high, and it immediately dropped in value. The tweet may have violated a deal Musk made with the SEC about his tweets and Tesla. Musk also tweeted patriotic lyrics, said his girlfriend Grimes is mad at him, and noted that their child is due on Monday

6 0
3 years ago
For each topic, find the total number of blurts that were analyzed as being related to the topic. Order the result by topic id.
photoshop1234 [79]

Answer:

Explanation: see attachment below

8 0
3 years ago
Other questions:
  • Give an example of how the fields of science, technology, and mathematics are commonly used when building a highway.
    7·1 answer
  • Which traditional subject is part of construction management or construction science syllabi?
    5·1 answer
  • If my friend have the corona what do I do
    11·2 answers
  • 4 Error-Correcting Polynomials (a) Alice has a length 8 message to Bob. There are 2 communication channels available. When n pac
    6·1 answer
  • Need help with these 3 ez questions pls help me.
    6·1 answer
  • Refrigerant-134a enters the expansion valve of a refrigeration system at 120 psia as a saturated liquid and leaves at 20 psia. D
    15·1 answer
  • Shane's 100-watt radio draws 7 amps of current on a 120-volt circuit. What is the resistance in the radio?
    8·1 answer
  • It is better to know or not to know?​
    6·2 answers
  • All of the following are examples of capital intensive industries EXCEPT: *
    15·2 answers
  • Sometimes we need to create heat, such as in circuit breakers and rear window
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!