Skip to content
Home
Marketing
Marketing – vCMO
Expertise
Development
Software Development
Salesforce Development
WordPress Plugin Development
Full-Stack Web Development
Automation
Business Coach
About Matthew Maennche
Blog
Solution Maps
C++ Solution Map
Java Solution Map
Python Solution Map
Visual Basic Solution Map
FAQ
Contact
Log In
Blog
Learn To Code
1668 Posts
Java
831 Posts
C++
578 Posts
Visual Basic
232 Posts
Aprender a codificar
101 Posts
Java
52 Posts
Pitón
30 Posts
C ++
19 Posts
Kodlamayı Öğren
11 Posts
Business
10 Posts
Java
9 Posts
General
8 Posts
PHP
5 Posts
Web Development
1685 Posts
Classic ASP
4 Posts
piton
2 Posts
FPDF
2 Posts
Javascript
2 Posts
BuddyPress
2 Posts
Content Management
2 Posts
CRM's
1 Post
HTML
1 Post
SQL
1 Post
Uncategorized
1 Post
Sin categorizar
1 Post
Random
1 Post
Microsoft Dynamics CRM
1 Post
Search
Suppose that the tuition for a university is $10,000 this year and increases 5% every year. In one year, the tuition will be $10,500. Write a program that displays the tuition in 10 years and the total cost of 4 years worth of tuition starting after the 10th year.
View Solution
Using loops, write a program that finds the largest prime number smaller than 10,000
View Solution
Write a program that takes the account’s present value, monthly interest rate, and the number of months that the money will be left in the account as three inputs from the user.
View Solution
Write a Boolean function named is_prime which takes an integer as an argument and returns true if the argument is a prime number, or false otherwise. Use the function in a program that prompts the user to enter a number and then prints whether the number is prime.
View Solution
Write an expression (not a statement!) whose value is the largest of population1, population2, population3, and population4 by calling max2.
View Solution
Write an expression (not a statement!) whose value is the larger of population1 and population2 by calling max.
View Solution
Define a function called min that takes two parameters containing integer values and returns the smaller integer of the two. If they have equal value, return either one.
View Solution
Define a function called isSenior that takes a parameter containing an integer value and returns True if the parameter is greater than or equal to 65, and False otherwise
View Solution
Define a function called signOf that takes a parameter containing an integer value and returns a 1 if the parameter is positive, 0 if the parameter is 0, and -1 if the parameter is negative
View Solution
Write the definition of a function absoluteValue that receives a parameter containing an integer value and returns the absolute value of that parameter.
View Solution
[Functions >> functions and if statements] Write the definition of a function powerTo which receives two parameters, a double and an integer.
View Solution
Write the definition of a function oneLess which receives a parameter containing an integer value and returns an integer whose value is one less than the value of the parameter.
View Solution
1
2
3
Next »
Scroll To Top