iclalakman

iclalakman

Geek Repo

Github PK Tool:Github PK Tool

iclalakman's repositories

Language:CStargazers:0Issues:0Issues:0
License:MITStargazers:0Issues:0Issues:0

Sum-of-two-matrices-using-pointers

Write a program that includes a function that takes three int type array input arguments and their corresponding size, and sum the corresponding elements of the first two arrays, and put the results into the third array. In your program make sure that you get the size of the arrays from the user and creates the arrays in the main.

Language:CStargazers:0Issues:0Issues:0

Random-grades-to-given-students-using-pointers

Write a program that asks the user for the number of students, n, in the class, dynamically allocates enough space in memory for n grades and generates n random grades (using rand()) between 0 and 100 (minimum 0 and maximum 100) which it stores in this space. Display the stored grades.

Language:CStargazers:0Issues:0Issues:0
Language:CStargazers:0Issues:0Issues:0
Language:CStargazers:0Issues:0Issues:0

Gpa-Calculator-in-C

Gpa Calculator in C programming using pointers

Language:CStargazers:0Issues:0Issues:0

Random-Number-in-an-array---Create-your-own-array

Random Number in an array - Create your own array

Language:CStargazers:0Issues:0Issues:0

Random-number-in-an-array

Create an array of 10 elements and initialize it with integer random numbers in your program. Then ask user to enter a number and search this number in the array you have created.

Language:CStargazers:0Issues:0Issues:0

Toss-a-coin-1000-times

Toss a coin 1000 times

Language:CStargazers:0Issues:0Issues:0

Toss-a-coin

Toss a coin.

Language:CStargazers:0Issues:0Issues:0

Prime-number-or-not

The following is an algorithm that determines whether or not a given a number n is prime. Write a C Program that implements this algorithm. Your program needs to get an integer number (n) from the user and will inform the user if it is a prime number or not.

Language:CStargazers:0Issues:0Issues:0

Mortgage-Calculator

Mortgage calculator is used to estimate customer’s mortgage payments. Write a program that gets customer’s account number, the mortgage amount, the mortgage term and the interest rate, then your program will compute the total interest and required monthly payment.

Language:CStargazers:0Issues:0Issues:0

Hospital-patients-

#of treated and #of untreated patients

Language:CStargazers:0Issues:0Issues:0

All-even-squares-between-1-and-n

Write a program that prompts the user to enter a number n, then prints all even squares between 1 and n.

Language:CStargazers:0Issues:0Issues:0

Reverse-of-a-number

Write a C program that prints the digits of the decimal representation of an integer value in reverse order, i.e. the digits will be printed from least to most significant digit.

Language:CStargazers:0Issues:0Issues:0

Converting-decimal-to-binary

Write a C program that converts a decimal number into its binary representation. Sample Run: Enter a number: 44 The binary representation for 44 is: 101100

Language:CStargazers:0Issues:0Issues:0

Sentinel-loop

Write a program that calculates and prints the average of several integers. Assume that the last value to read with scanf() is sentinel number 9999.

Language:CStargazers:0Issues:0Issues:0

Loop-of-10-numbers

Write a program using a loop to print out the following sequence exactly, including commas: Sample Run: 10, 9, 8, 7, 6,\n 5, 4, 3, 2, 1

Language:CStargazers:0Issues:0Issues:0

Loop-of-10-number

Write a program using a loop to print out the following sequence exactly, including commas. Sample Run: 10, 9, 8, 7, 6, 5, 4, 3, 2, 1

Stargazers:0Issues:0Issues:0

Find-maximum-number

Write a C program that finds the largest in a series of numbers entered by the user. The program must prompt the user to enter numbers one by one. When the user enters 0 or a negative number, the program must display the largest nonnegative number entered.

Language:CStargazers:0Issues:0Issues:0

Heart-Rate

The formula for calculating the maximum heart rate in beats per minute is 220 minus your age in years. Your target heart rate is a range that is between 50 - 85 of your maximum heart rate. Write a program that takes the user’s birthday and the current day (in terms of day, month and year).

Language:CStargazers:0Issues:0Issues:0

A-phone-company-bill

A phone company bills the customer in a specific policy so that customers with heavy usage pay less per minute. According to this policy, if customer spoke x minutes in total for the month:

Language:CStargazers:0Issues:0Issues:0

Right-triangle-or-not-if-

A triangle can be determined to be a right triangle if the side lengths are known. If the lengths satisfy the Pythagorean Theorem (a2+b2=c2) then it is a right triangle. Write a C program that gets the sides of triangle, a,b,c and check whether the triangle is right-angled or not.

Language:CStargazers:0Issues:0Issues:0

Area-of-triangle-if-

The area of a triangle with sides a, b and c can be computed using Heron’s formula.  area = s(s − a)(s − b)(s − c) where  s = (a + b + c)/2.

Language:CStargazers:0Issues:0Issues:0

expert-lamp

Write a C program that takes the speed of a car (in km/h) as an integer input and determines whether the car is going very slowly, slowly, medium speed, fast speed or very fast speed.

Language:CStargazers:0Issues:0Issues:0
Language:CStargazers:0Issues:0Issues:0
Language:CStargazers:0Issues:0Issues:0

The-straight-line-distance-of-two-points

The straight line distance of two points (x1, y1) and (x2, y2) in a cartesian plane can be calculated by the formula 𝑑=√(𝑥1−𝑥2)2+(𝑦1−𝑦2)2

Language:CStargazers:0Issues:0Issues:0

Area-of-triangle-semi-perimeter-

the area of the triangle can be calculated with the following formula: 𝐴𝑟𝑒𝑎 = √𝑠(𝑠 − 𝑎)(𝑠 − 𝑏)(𝑠 − 𝑐) using semi-perimeter

Language:CStargazers:0Issues:0Issues:0