Help me with Halloween candy in c or python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me with Halloween candy in c or python

6th May 2020, 1:35 AM
swarup kumar
swarup kumar - avatar
2 Answers
0
swarup kumar Please provide your code inorder to get help. Thanks and happy coding.
6th May 2020, 2:33 AM
BroFar
BroFar - avatar
0
#include <stdio.h> int main() { int houses,w; float output,y ,z; scanf("%d", &houses); y=100; //your code goes here output=2*y/houses; z=output+0.5; w=(int)z; printf ("%d",w); return 0;
7th May 2020, 2:31 AM
swarup kumar
swarup kumar - avatar