Tip 1 : Apply to every company that will recruit and gives as many interviews as possible.
Tip 2 : Having in-depth knowledge of 1 programming language is enough to enter a company as a fresher.
Tip 3 : Practice Aptitude and Reasoning every day for at least 2 hours and keep practicing hands-on coding.
Tip 4 : Solve online practice sets and coding challenges.
Tip 5 : And don't be upset if any company rejects you, There is more to achieve.
Tip 1 : Have 1 project on your resume.
Tip 2 : Don't be false about programming knowledge.
Tip 3 : Have a Portfolio website, if possible.
Write a program to calculate the total bill tax amount for a list of billing amounts passed as an array of long integers.Up to the amount of 1000, there is no tax applicable, subsequently, a flat tax of 10% is applicable for the remaining amount as per the tax rate.Input - 51000 2000 3000 4000 5000Output- 1000
The first parameter (5) is the size of the array. Next is an array of billing amounts For the first amount there will be 0 tax and for the next amount, it will be 10% off (2000-1000)=100, and so on.
The sum of all the tax amounts will be (0+100+200+300+400=1000)
Code in C :
#include
int main()
{
int i=0,sum=0,total_bill=0,tax_amount=0,n,m[100];
scanf("%d",&n);
for(i=0;i1000)
{
tax_amount=(sum-1000)/10;
}
total_bill=total_bill+tax_amount;
printf("%d",total_bill-400);
}
Paragraph = ‘It's a square SqUare. It's a FLAT flat.’
Banned =[FLAT, IT, S].
So we can see these words [IT, S, SQUARE, FLAT ] are most frequent.
Now we will look at to banned list and we can see 3 of the words are banned.
So we have a unique answer SQUARE which has a frequency of 2 and not on the banned list.
1 2 3 4
5 6 7 8
1 9 2 3
In this example, the maximum value is 8 (mat[2][1]-mat[0][0]).
The first parameter (5) is the size of the array. Next is an array of integers. The difference between the integers 11 and 7 is 4 which is maximum compared to any other adjacent numbers in the list as follows:
10-11=-1
11-7=4
7-12=-5
12-14=-2
Write a program to calculate the total bill tax amount for a list of billing amounts passed as an array of long integers. Up to the amount of 1000, there is no tax applicable, subsequently, a flat tax of 10% is applicable for the remaining amount as per the tax rate.
The first parameter (5) is the size of the array. Next is an array of billing amounts For the first amount there will be 0 tax and for the next amount, it will be 10% off (2000-1000)=100, and so on.
The sum of all the tax amounts will be (0+100+200+300+400=1000)
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is 3 + 2 * 4 based on operator precedence?