What are the advantages of polymorphism?
No Answer is Posted For this Question
Be the First to Post Answer
what is the realstic modeling?
What are the advantanges of modularity
What does the keyword "static" mean?
Why multiple inheritance is not allowed?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is the difference between and interface and an abstract class ?
4 Answers IBM, Infosys, Ness Technologies,
program for insertion ,deletion,sorting in double link list
wht is major diff b/w c and c++?
How can i write a code in c# to take a number from the user and then find all the prime numbers till the number entered by the user.
How is class defined?
What are benefits of oop?
#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort