Epic Systems Interview Question for System Administrators






Comment hidden because of low score. Click to expand.
0
of 0 vote

What do you exactly mean?

- chenming831@hotmail.com May 16, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Epic has worst interview questions ever...

- Anonymous January 09, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

#include<iostream>
#include<stdlib.h>
#include<sstream>
#include<string.h>
using namespace std;


void main()
{
char Cate;

float total_sallary,basic,incre;
cout<<"select the catagory A,B or C"<<endl;
cin>>Cate;
//cout<<"Cate"<<Cate;

cout<<"Enter the basic sallary for the employ"<<endl;
cin>>basic;
//cout<<"Basic:"<<basic;

cout<<"Select the increment:"<<endl;
cin>>incre;
//cout<<"incre"<<incre;

switch(Cate)
{
case 'A':
{
total_sallary = (basic+(basic*(3*incre/100)));
if(total_sallary>=50000)
cout<<"Sallary grater than 50K"<<endl;
else
cout<<"Total Sallary is:"<<total_sallary<<endl;
}break;

case 'a':
{
total_sallary=(basic+(basic*((3*incre)/100)));
if(total_sallary>=50000)
cout<<"Sallary grater than 50K"<<endl;
else
cout<<"Total Sallary is:"<<total_sallary<<endl;
}break;
case 'B':
{
total_sallary=basic+(basic*((2*incre)/100));
if(total_sallary>=50000)
cout<<"Sallary grater than 50K"<<endl;
else
cout<<"Total Sallary is:"<<total_sallary<<endl;
}break;
case 'b':
{
total_sallary=basic+(basic*((2*incre)/100));
if(total_sallary>=50000)
cout<<"Sallary grater than 50K"<<endl;
else
cout<<"Total Sallary is:"<<total_sallary<<endl;
}break;
case 'C':
{
total_sallary=basic+(basic*(incre/100));
if(total_sallary>=50000)
cout<<"Sallary grater than 50K"<<endl;
else
cout<<"Total Sallary is:"<<total_sallary<<endl;
}break;
case 'c':
{
total_sallary=basic+(basic*(incre/100));
if(total_sallary>=50000)
cout<<"Sallary grater than 50K"<<endl;
else
cout<<"Total Sallary is:"<<total_sallary<<endl;
}
}

system("PAUSE");
}

- Dhaval Desai March 31, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

you forgot to check whether the increment is greater than 1. Just one more if condition and it will work fine :)

- priyanshu October 27, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

why 'A' and 'a' he mentioned only A. If u really want to u can can use toUpperCase() to convert category to upper case then pass it to switch case

- xx April 11, 2015 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

please let me know if i was wrong in above code

- Dhaval Desai March 31, 2011 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More