You are on page 1of 1

GDB online Debugger | Compiler - Code, Compile, Run, Debug online ... https://www.onlinegdb.

com/

You need to verify email to use all features of IDE. Follow instructio
 OnlineGDB
beta (/)    Run  Debug  Stop  Share  Save { } Beautify 
online compiler and 1
main.c
//programme to calculate monthly salary of N employees//
debugger for c/c++ 2 #include <stdio.h>
3 int main()
Welcome, Mohd Ali 4 {
(/profile/)  5 int N,da,basic,gross;
(/notifications) 6 printf("enter total number of employees : ");
7 scanf("%d",&N);
5 8 printf("\nenter basic salary: ");
9 scanf("%d",&basic);
Create New Project (/) 10 da=0.52*basic;
My Projects (/myfiles) 11 gross=N*(basic+da);
12 printf("\n %d is the gross salary of N employees",gross);
Classroom new 13 return 0;
(/classroom) 14 }
Learn Programming
(https://learn.onlinegdb.com

Programming
Questions
(https://question.onlinegdb.com

Logout (/logout)

167K 

   input
About (/about) • FAQ
(/faq) • Blog (/blog/) •
Terms of Use
(/termsofuse) • Contact
Us (/contact) • GDB
Tutorial
(http://www.gdbtutorial.com/
• Credits (/credits) •
Privacy (/privacy)
© 2016 - 2022 GDB
Online

1 of 1 8/16/2022, 2:26 AM

You might also like