Posts by cristovanlopes • 5 points
4 posts
-
0
votes2
answers374
viewsA: Errors in the program to determine triangle
#include <iostream> using namespace std; int main(){ double a=0, b=0, c=0, x=0; cin>>a>>b>>c; if (a < b){ x = a; a = b; b = x; } if (b < c){ x = b; b = c; c = x; } if…
c++answered cristovanlopes 5 -
0
votes2
answers374
viewsQ: Errors in the program to determine triangle
What mistakes I’m making? Read 3 floating point values A, B and C and order them in descending order, so that side A represents the largest of the 3 sides. Then, determine the type of triangle these…
c++asked cristovanlopes 5 -
-3
votes1
answer86
viewsQ: Can anyone identify the error in this code?
Guys I’m sorry for the kinds of questions I’m starting #include <iostream> using namespace std; int main(){ //essa parte até o "for(Nm1==Fim)" o geany encontrou erro string Nm1; float PrC=0,…
-
0
votes1
answer58
viewsQ: Conversion Farenheit Celsius
Make an algorithm that calculates and writes a table of centigrade against degrees Farenheit, ranging from 50 to 150 of 1 in 1 I found the solution in C not in C++, #include <iostream> using…
c++asked cristovanlopes 5