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
klio [65]
3 years ago
11

If a program compiles fine, but it produces an incorrect result, then the program suffers from _______________.

Computers and Technology
1 answer:
tatiyna3 years ago
5 0
In my answer I am making an assumption that there is no runtime error, if there is then the error is “a run-time error”.

The answer is the program suffers from a Logic Error
You might be interested in
This is C++
leonid [27]

Answer:

#include <cmath>

#include<iostream>

using namespace std;

int main()

{

double height, width;

cout<<"Enter wall height (feet): ";

cin>>height;

cout<<"Enter wall width (feet):  ";

cin>>width;

//1

double area;

area = width * height;

cout<<"Wall area: "<<area<<" square feet"<<"\n";

//2

const double gallon = area/350.0;

cout<<"Paint needed: "<<gallon<<" gallons"<<"\n";

//3

cout << "Cans needed :" << round(gallon) << " can(s)";  

return 0;

}

Explanation:

This line declares the height and width as double

double height, width;

This line prompts user for height

cout<<"Enter wall height (feet): ";

This line gets user input for height

cin>>height;

This line prompts user for width

cout<<"Enter wall width (feet):  ";

This line gets user input for width

cin>>width;

//1  Question 1 begins here

This line declares area as double

double area;

The line calculates area

area = width * height;

The line prints the calculated area

cout<<"Wall area: "<<area<<" square feet"<<"\n";

//2  Question 2 begins here

This line declares and calculates gallon as a constant double variable

const double gallon = area/350.0;

This line prints the calculated gallon

cout<<"Paint needed: "<<gallon<<" gallons"<<"\n";

//3  Question 3 begins here

This line rounds gallon to nearest whole number and prints the result

cout << "Cans needed :" << round(gallon) << " can(s)";  

Download cpp
7 0
3 years ago
One advantage of a PAN​
drek231 [11]

Answer:

advantage is:

Data can Synchronize between different devices.

8 0
3 years ago
Read 2 more answers
Some operating systems add the command interpreter to the kernel .what will be the justification for this design principle?
stira [4]

Answer:

Some operating systems add the command interpreter to the kernel. What will be the justification for this design principle? It displays all the apps and programs in the computer. Fab Numbers Sid wants to find out the average of Fab numbers.

Explanation:

Some operating systems add the command interpreter to the kernel. What will be the justification for this design principle? It displays all the apps and programs in the computer. Fab Numbers Sid wants to find out the average of Fab numbers.

3 0
3 years ago
I'm pretty sure most of you know squid game, right? Well, are the actors really dying? or is it just CGI or effects? Because it'
valentinak56 [21]

Answer:

不,他们在制作系列时使用了特殊效果。

可以看幕后!!

6 0
3 years ago
Read 2 more answers
At the Transport layer of the OSI, what is used to find and communicate with a particular application running on a host?
ivanzaharov [21]

Answer:

Port number

Explanation:

Port numbers are used in the identification of a particular process for forwarding some form of network message such as the internet when it reaches a server. It is usually a 16-bit integer that is unsigned and found in header that is appended to a message unit.  At the OSI transport layer, port numbers are used in searching and communicating with a specific application that is running on a host server.

4 0
4 years ago
Other questions:
  • You just realized the turn signal on your vehicle is broken,
    15·1 answer
  • Is the protocol that specifies how web browsers and servers communicate.?
    11·1 answer
  • Dom is a software developer who likes to tweak his computer's OS to make it work the way he wants it to. The OS he is most likel
    14·1 answer
  • Which would be a responsible use of technology used by victims of cyberbullying? finding ways to strike back at bullies online.
    15·1 answer
  • Hurry answerrrrrrr pleaseee
    11·2 answers
  • Communication is defined as__________.
    10·1 answer
  • Maria is comparing her history project's second-place award to her classmate's first-place award. She starts planning how to win
    9·2 answers
  • Help me plzzzz ASAP T-T and it's Cyber Security but my last day of school is tomorrow and I'll graduate in June 24 so plzzzzz I
    12·1 answer
  • Your task is to build a palindrome from an input string.A palindrome is a word that readsthe same backward or forward. Your code
    12·1 answer
  • ________ involves disconnecting individual users from their selected internet service providers and redirecting them to illegiti
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!