Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
Pawan Kumar #include <stdio.h> int main() { int n,cost;//here n is the number of colors int m; scanf("%d",&n); n=n*5+40; m=round(n*0.1); cost=(m+n); printf("%d",cost); return 0; }
30th Aug 2020, 6:22 AM
Ajith
Ajith - avatar