#include <stdio.h> int main (void){ int popCurrent, popProjectedint; double Projection, popProjected; scanf ("%d %lf", &popCurrent, &Projection); popProjected = popCurrent * Projection/100 + popCurrent; popProjectedint = (int) popProjected; printf ("%d", popProjectedint); return 0; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter