68 334
Assignments Done
Successfully Done
In November 2018

Answer to Question #25741 in C for gen

Question #25741
Write a C program that prints the minimum cost of a tour using scanf to input the costs of specific cities and use that to get the minimum cost.
for example the input might look like the following
1 2 500 //the first and second numbers would represent the cities and the third is the cost.
2 3 456
3 1 345
1 4 445

The printf of the output will be:
printf("the Tour %d %d %d %d cost %d", a, b, c, a, cost);

and Now the example of an output will say the following using numbers from the user:
The tour 1 2 3 1 costs 790
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions