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
inna [77]
3 years ago
12

How to write (c program) code for 30/4 = 7.5. It should print 7.5, not 7

Computers and Technology
1 answer:
trasher [3.6K]3 years ago
8 0

Answer:

The program to given question for get the output 7.5. We write the code like this

#include <stdio.h>

int main()         //define main method

{

 float a;             //declare a float variable.

 a=30.0/4;                   //a holding the value

 printf("the value of a= %f",a);           //print the value.

 return 0;

}

output:

7.500000

Explanation:

In the above program we declare a variable (a). That's datatype is   float because float datatype hold the decimal values.Then we assign the value to variable a that is already given in the question. Then we print the value by using printf() function.

So the output of the given question is 7.5.

You might be interested in
Who knows songs that are sad,happy,excited, and calm
anzhelika [568]

sad-

you broke me first

can we kiss forever

love the way you lie

happy-

Say Yes

Valerie

Walking on Sunshine

excited-

who let the dogs out

September

calm-

heather

put your records on

lonely

5 0
3 years ago
A hard drive that uses fde is often referred to as a(n) ____.
Sergio039 [100]

FDE stands for full disk encryption. FDE encrypts data as it is written to the disk and decrypt data as it is read off the disk. It is the simplest method of deploying encryption ,transparent to applications, databases, and users.

A hard drive that uses FDE is often referred to as a self-encrypting hard drive. correct answer: B

6 0
3 years ago
What help the ict in your life?and write own idea three or four sentence
My name is Ann [436]

Answer:

I am a software engineering student

computers have createed an impact in my life because through computers i work, I do research and many more

7 0
3 years ago
A. Requiring computer users to log off before leaving for lunch
GuDViN [60]

Answer:

Option A, B, and D.

Explanation:

In the above question, the some details of the question are missing that is the part of the question.

Information Security applies to the mechanisms and techniques built and maintained to secure print, computerized, or any other type of personal, secret and confidential information or records from unauthorized access, usage, exploitation, release, damage, manipulation, or disturbance.

So, the following are the option that is true about the scenario.

Other option is not true about the scenario because Option C the click fraud are not the part or protect from the information security and Option F is not considered to the following scenario.

7 0
4 years ago
Select the correct answer. What is the final step of the object-oriented design process?
Vikentia [17]
D. Writing the methods of the classes
6 0
2 years ago
Other questions:
  • In a _____, if any link between nodes is severed, the entire network is affected, and failure of a single node disrupts the enti
    9·1 answer
  • Why you think Operating System is pivotal in teaching and learning.
    13·1 answer
  • How does the actual amount left to spend differ from the budgeted amount for the remaining three months of the project?
    12·1 answer
  • Someone asks you for help with a computer that hangs at odd times. You turn it on and work for about 15 minutes, and then the co
    10·1 answer
  • In client server network, there is no central server //// true or false​
    8·1 answer
  • Is a tv a
    6·1 answer
  • Help me! I’ll mark you brainly
    13·1 answer
  • What other jobs would require employees to follow directions very carefully? (Give 4 examples)​
    9·1 answer
  • __' the low level language? a.machine and assembly c.3G and 4G d.machine and 4gl​
    15·1 answer
  • Which of the following includes premium content you must pay to use?<br> On word
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!