Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)
Answer Posted / un educator
Select name ,sysdate - joindate as exp,salary from employer where sysdate -joindate=5 and salary <15000
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the translation phases used in c language?
Subtract Two Number Without Using Subtraction Operator
main() { printf("hello"); fork(); }
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.
How can I ensure that integer arithmetic doesnt overflow?
Are there constructors in c?
What is the best way to store flag values in a program?
How can I convert a number to a string?
What are the rules for identifiers in c?
What is %lu in c?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is non linear data structure in c?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
What are global variables and how do you declare them?