#include<stdio.h> int main() { int sales,salary; while(sales!=1){ printf("enter sales of worker\n"); scanf("%d",&sales); salary=200+sales*9/100; printf("salary is %d\n",salary); } }
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