Posts

Showing posts from January, 2014

KSU CS3540 Assignment 3

Modify the "grades" program so that the user initially enters the number of grades and then enters the grades.  The program will output the average of the grades, the standard deviation of the grades, and the median of the grades.  Please email your source code to your instructor by 9:30 am on  Tuesday, January 21 st .   /* Name : Dalibor Labudovic    Course: CS3540 Sec. 2    Prof. : J. Higgins */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <assert.h> //function prototype int* get_data(int num_grades); // function to get grades //function to calculate average and display results float calc_average(int num_grades, int* grades); void display_average(float average); //function to clculate median and display results float calc_median(int num_grades, int* grades); void display_median(float median); //function to calculate standard deviation and display results float calc_standard_deviation(int num_grades, int* grades); void display

KSU CS3540 Assignment 2

Assignment 2 Modify the "grades" program so that the initially enters the number of grades and then enters the grades.  The program will output the average of the grades.  Please email your source code to your instructor by Noon on  Thursday, January  16 th .    /* Name : Dalibor Labudovic    Course: CS3540 Sec. 2    Prof. : J. Higgins */ #include <stdio.h> int main(){         int grade;         int num_grades;                 printf("Enter the number of grades: ");                 scanf("%d", &num_grades);                         int i;                         for(i = 0; i < num_grades; i++){                                 printf("Enter grade ");                                 scanf("%d", &grade);                         }                         //check to see if grade is between 0 and 100                         if (grade < 0 || grade > 100) printf("Error: Grade should be between 0 and 100");

KSU CS3540 Assignment 1

Assignment 1 Modify the hello world program so that a "southern greeting" is display.  Please email your source code to your instructor by 8:00 am on Tuesday, Jan 14 th .   /* Name : Dalibor Labudovic    Course: CS3540 Sec. 2    Prof. : J. Higgins */ #include <stdio.h> int main (int argc, char* argv[]){         printf("Howdy folks!");         return 0; }  

Send money via PayPal without an account

Image
Description: Do you need to send money or pay someone via PayPal without an account? Here is a way, it worked for me several times. Give it a try. Step 1: Type this url in your browser url address bar:  http://paypal.com/xclick/business= Step 2: After the  http://paypal.com/xclick/business= [Email address to whom your are sending funds]. Example:  http://paypal.com/xclick/business= sherkon18@gmail.com Once done, press enter. Step 3: Fill in description and item price then select update.(Screen shot below) Step 4: Select "Don't Have a PayPal Account?" Step 5: Enter Your credit card/debit card info and select Pay at the bottom. (Screen shot below)