Could some help me please

Design a program to determine if a student is entitled to an incentive granted upon payment of his/her Boarding Fee in full. Accept the boarding fee and the amount paid. Output a message stating whether the incentive will be granted. (Required: IPO Chart)​

Answers

Answer 1

The program to determine if a student is entitled to an incentive is illustrated below:

#include <stdio.h>

int main() {

int num;

printf("Enter an integer: ");

scanf("%d", &num);

// true if num is perfectly divisible by 2

if(num % 2 == 0)

printf("%d is even.", num);

else

printf("%d is odd.", num);

return 0;

}

python program.

num = int(input("Enter a number: "))

if (num % 2) == 0:

print("{0} is Even".format(num))

else:

print("{0} is Odd".format(num))

Pseudocode:

0. Start

1. Print "Enter Any Number to Check, Even or Odd"

2. Read input of a number

3. If number mod = 0

4. Print "Number is Even"

5. Else

6. Print "Number is Odd"

7. End

What is a computer program?

A computer program is a set of instructions written in a programming language that a computer can execute. Software includes computer programs as well as documentation and other intangible components.

Source code refers to a computer program in its human-readable form. In this case, the program to determine if a student is entitled to an incentive granted upon payment of his/her boarding fee in full is given.

Learn more about programs on:

https://brainly.com/question/1538272

#SPJ1


Related Questions

Which of the following is something computer scientist would do ​

Answers

Computer scientists use technology to solve problems and prepare for the future. They also write and program software to create applications. Their primary focus, however, is to validate and develop models for interaction between people and computers or software and devices

an object's _____ are the tasks or functions that the object performs when it receives a command to do so.

Answers

Answer:

an object's methods are the tasks or functions that the object performs when it receives a command to do so

Answer: C. Methods

Explanation:

Write a java program that prints the following sequences (in the given order) using a while loop. The numbers in the sequences can be printed on a single line or on separate lines.
a) 2, 3, 4, ... , 14, 15
b) -10, -9, -8, ... , 9, 10
c) 100, 99, 98 ... , 91, 90
d) 40, 37, 34, ... , 25, 22

Answers

Answer:

class Main {

 static void sequence(int n, int end, int step) {

   for(;step>0 ? n<=end : n>=end; n += step) {

     System.out.printf("%d",n);

     if (n != end) System.out.printf(", ");

   }

   System.out.println();

 }

 

 public static void main(String[] args) {

   sequence(2, 15, 1);

   sequence(-10, 10, 1);

   sequence(100, 90, -1);

   sequence(40, 22, -3);

 }

}

Explanation:

Here is my solution again after being removed previously.

For the following C statement, write the corresponding RISC-V assembly code. Assume that the variables i, and j are assigned to registers x28, and x29, respectively. Assume that the base address of the arrays A and B are in registers x20 and x21, respectively.

Answers

The corresponding RISC-V assembly code for the statement will be:

x5 = f

x6 = g

x7 = h

x28 = i

x29 = j

x10 = Base address of array A

x11 = Base address of array B

add x30, x28, x29 //x30 = i+j

slli x30, x30, 3 //x30 = 8*(i+j)

add x30, x30, x10 //x30 = address of A[i+j]

ld x30, 0(x30) //x30 = A[i+j]

sd x30, 80(x11) //B[10] = A[i+j]

What is a C statement?

Tokens, expressions, and other statements make up C statements. The "body" of the enclosing statement is a statement that is a component of another statement.

Statements make up the bodies of C functions (including the main function). These can be either simple statements that contain no other statements or compound statements that contain other statements. Control structures are compound statements that control how or whether their component statements are executed, such as if/then/else, while, for, and do...while.

In this case, the corresponding RISC-V assembly code is Illustrated above.

Learn more about computer on:

https://brainly.com/question/27564431

#SPJ1

You work for a university and your colleague Mikhail sent you a spreadsheet with student information on it. It has the total number of credit hours they are taking, how many years they’ve been at the school, their email addresses, and their student ID number. In hidden columns it has their social security number and names; Mikhail says this is so no one reading the document can know which name goes with which information. Mikhail is planning on sharing the document with several people in and outside of your department and believes he has taken proper steps to secure students’ private information and keep them anonymous. Do you agree? What mistakes has Mikhail made, or what could he do to be more conscientious about sensitive information?

Answers

I do not agree with Mikhail plan on sharing the document with several people in and outside of your department and believes he has taken proper steps to secure students’ private information and keep them anonymous.

The mistakes that Mikhail made is not removing those information before sharing it and the thing that he can do is to lock that folder from been access by anyone.

What exactly does data security mean?

Data security is the process of guarding digital data against unauthorized access, corruption, and theft throughout all stages of its life.

Note that Data security refers to safeguarding digital information, such as that contained in a database, against obnoxious users and destructive forces, such as cyberattacks and data breaches.

Therefore, for safety, Place all sensitive data in a safe location. Never leave it unattended on your desk or anywhere that unauthorized people could easily access it. The best place for it to be kept is in a locked file cabinet or drawer. All confidential information may be requested back, or the owner may choose to have it destroyed.

Learn more about data security from

https://brainly.com/question/25720881
#SPJ1

which of the following can be considered both a secondary source and tertiary
source

Answers

The option that can be considered both a secondary source and tertiary source is option D: dictionaries.

Are secondary and tertiary similar?

The term secondary  source' is another term for secondary  information. Any information that takes place after secondary  source is referred to as tertiary source.

Therefore, Note that Secondary sources explain, interpret, or analyze data from primary sources (often primary sources). Numerous books, textbooks, and academic review articles are examples of secondary sources. Secondary sources are compiled and largely summarized in tertiary sources.

Learn more about secondary source from

https://brainly.com/question/896456

#SPJ1

Letters,

diaries,

artifacts,

dictionaries

Communication control devices play a very important role in computer networks. For example, a _____ provides access to the internet through an internet service provider.

router
client
modern

Answers

Answer:

Hello i think it is client

good luck<3!

conditional_snakes.py - snake_input = int

Answers

Following is the code for conditional snakes:

input = int(input(" Count the number of snakes>"))

if input == 0:

print("There are no snakes !")

elif input == 1:

print("There is  [input] snake and it is fine")

elif input > 1:

print("There are [input] snakes! RUN!")

else:

print ("Snakes cant be negative enter 0 or positive number of snakes")

What is a conditional statement?

A conditional statement is used in your program to deal with conditions, as its name suggests. In making decisions based on the circumstances it encounters, the program is guided by these statements. You should be familiar with Python's three main conditional statements: statement if, else, else if

Hence above program is the conditional snake program in python

To know more about conditional statements follow this link

https://brainly.com/question/27021213

#SPJ1

list all the software apps on your cell phone write their uses and how it helps you as a student

1-5 please i need answers rn ASAP​

Answers

Check out the image below. The text contained a link, so it is in jpeg format.

If you position the key next to the subject so it shines from the side what type of effect will you create

Answers

Answer:

side lighting because it will reflect light to the side of the subject

Can someone please help me with this?

Answers

Answer:

no

Explanation:

computer hardware refers to

Answers

Answer: Hardware refers to the computer's tangible components or delivery systems that store and run the written instructions provided by the software

Explanation:

Answer:

refers to computer's tangible components or delivery systems that store and run the written instructions provided by the software

make a list different information system which is people can in
teract with every day

Answers

A list of different information system which people can interact with every day are:

LaptopsDatabasesNetworksSmartphones

Why is information technology so crucial to our daily lives?

Information systems store data in an advanced manner that greatly simplifies the process of retrieving the data. A business's decision-making process is aided by information systems. Delivering all the crucial information through an information system makes it simpler to make better judgments.

Note that examples of information systems that are powered by computers are:

Social media: WeChat, Face book, and LinkedInQ&A website: QuoraAtrium (University of Montreal) and Iris are cataloged in libraries (BAnQ)E-commerce platforms like Amazon and eBay

Learn more about information system  from

https://brainly.com/question/14688347
#SPJ1

I am in dire need of answers on the subject slither.io! what are the strats that will get me to the top of the leaderboard?

Answers

The  strats that will get you to the top of the leaderboard is that You should only accelerate when you can clearly see it. Never enter a busy area in a hurry. If you anticipate being imprisoned, move quickly enough to avoid the trap.

What makes a good leaderboard?

In order to be effective, a leaderboard must mix competence, relatedness, and autonomy without leaving the player feeling powerless, alienated, or coerced.

Therefore, In Slither.io, one of the players must move briefly parallel to the other players in order to kill more opponents. Avoid doing that for too long or they'll figure out what you're up to. Simply move head-to-head for a little period of time, then feint away in the opposite direction before turning right and moving up.

Learn more about Gaming from

https://brainly.com/question/28031867
#SPJ1

how does kernel interacts with hardware components

Answers

Answer:

Kernel acts as a bridge between applications and data processing performed at hardware level using inter-process communication and system calls. Kernel loads first into memory when an operating system is loaded and remains into memory until operating system is shut down again.

Explanation:

What is the purpose for the Information systems?

Answers

to have user get, store and distribute data out

hope this helps this

Things conputers can’t do human can do

Answers

Explanation:

A computer cannot “think in the whole”. A computer cannot put itself in the place of a person. A computer cannot be sensitive and understanding. It can only “understand” binary encoded input.It can not do the process of reproduction xD

Activity 1
the visual basic program to sort the following strings for array named "Place"
(Pacific, Atlantic, Indian, Black, Red, North, Caspian, Caribbean

Answers

Visual basic program to sort the following strings for array:

Public Class Form1
   Private Sub Button1_Click(sender As Object, e As EventArgs) Handles
Button1.Click
       Dim Place() As String = {"Pacific", "Atlantic", "Indian",

What is array?
An array is a significant subject that falls within the umbrella of computer science. Additionally, you must thoroughly examine each angle of the array while preparing for a competitive exam like the GATE. All of the subjects pertinent to the array have been covered in this article. We hope the CSE topic notes will assist your understanding of this subject. An array is a collection of identical elements or data items stored at adjacent memory locations. In plain English, we can say that arrays are typically used in computer programming to organise the same kind of data.

To learn more about array
https://brainly.com/question/24275089
#SPJ1

If you live in the center of a plate, it's unlikely that you'll ever experience the wonder of plate tectonics True or False??

Answers

Answer: False  

Explanation:Just guessed

Answer:

Explanation:

false  

Earthquakes can occur along faults far from the edges of plates. Although these earthquakes are much less common, they are due to the same forces that cause earthquakes along plate boundaries.

Consider a logic function with three inputs A,B, and C, and three outputs D, E, and F. The function is defined as follows:
D is TRUE if at least one input is TRUE, E is TRUE if exactly two inputs are TRUE, and F is TRUE only if all three inputs are TRUE. Design the logic circuit for the function.

Answers

The truth table will contain 2^3 = 8 entries. The image of truth table is attached below. The function will be defined on D is TRUE if at least one input is TRUE, E is TRUE if exactly two inputs are TRUE, and F is TRUE only if all three inputs are TRUE.

What is a Logic Circuit?

Computers frequently chain logic gates together by using the output of one gate as the input to another. That is referred to as a logic circuit.

Circuits allow computers to perform more complex operations than they could with a single gate.

A chain of two logic gates is the smallest circuit.

What is a Logic gate?

Logic gates are the fundamental components of any digital system. It is an electronic circuit with one or more inputs and one output. A logic governs the relationship between the input and the output. Based on this, logic gates are labeled as AND gates, OR gates, NOT gates, and so on.

To learn more about Logic Circuit, visit: https://brainly.com/question/26661878

#SPJ9

Write python code to darken an image.

Answers

A code to implement darken and reduces all three color values is given below:

The Program

<!DOCTYPE html>

<html>

<head>

<link rel="stylesheet"

 type="text/css" href="style.css" />

</head>

<body>

<h1 style="color:green;">

 GeeksforGeeks

</h1>

<h3>Less.js Color Operation darken() Function</h3>

<div class="box">

 <div class="container1">

  <p class="text">

   Base Color<br>hsl(60, 50%, 52%)

  </p>

 </div>

 <div class="container2">

  <p class="text">

   Darkened Color<br>hsl(60, 50%, 32%)

  </p>

 </div>

</div>

</body>

</html>

The complete code is attached as a txt file below.

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Could so please help me

Answers

Answer: For?

Explanation:

what do you need help with?

Wi-Fi Protected Access (WPA) fixes critical vulnerabilities in the earlier wired equivalent privacy (WEP) standard. Understanding that WPA uses a combination of an RC4 stream cipher and Temporal Key Integrity Protocol (TKIP), this makes a wireless access point NOT vulnerable to which of the following attacks when related to encrypted wireless packets?

Answers

Since Wi-Fi Protected Access (WPA) fixes critical vulnerabilities in the earlier wired equivalent privacy (WEP) standard, the attacks that is related to encrypted wireless packets is option A: IV attacks.

Describe an IV attack.

A wireless network attack is called an initialization vector (IV) attack. During transmission, it alters the IV of an encrypted wireless packet. One packet's plaintext can be utilized by an attacker to calculate the RC4 key stream produced by the IV employed.

Note that A binary vector used to initialize the encryption process for a plaintext block sequence in order to boost security by adding more cryptographic variance and to synchronize cryptographic hardware. The initialization vector is not required to be kept secret.

Learn more about Wi-Fi Protected Access  from

https://brainly.com/question/13068630
#SPJ1

See full question below

Wi-Fi Protected Access (WPA) fixes critical vulnerabilities in the earlier wired equivalent privacy (WEP) standard. Understanding that WPA uses a combination of an RC4 stream cipher and Temporal Key Integrity Protocol (TKIP), this makes a wireless access point NOT vulnerable to which of the following attacks when related to encrypted wireless packets?

IV attacks

Malware

Ransoware

For each step in the assignment, make changes to this spreadsheet as described in each step.
1. In the cell below, write three operators and the type of calculation each represents:
2. In the cell below, write the symbol a formula starts with:
3. In cell D16, write the formula =10+5 and hit Enter.
4. In cell D19, write a formula that contains the difference between cells D18 and E18.
5. In cell D22, change the order of operations for the formula so that 3-4 is calculated first.
6. In cell D25, insert an image of any animal.
7. In the cell below, write two ways to open the Save As dialog box to save a brand-new file:
8. In the cell below, write the keyboard shortcut for copying text:
9. In the cell below, write what happens to the pointer to indicate you can drag data:
10. In the cell below, write what key to hold when dragging data in order to copy it:
40 11. Move the data from cells D40:G40 to cells D41:G41.
12. In the cell below, write the number of items that can be stored on the Office Clipboard:

Answers

The answer of the following spreadsheet will be:

1. Plus, minus, equals

2. =

3. D16 now says "10+5"

4. D19 now says "=D18-E18"

5. D22 now says "=3-4+5"

6. An image of a dog was inserted

7. Click on "File" in the top left corner and then click "Save As" OR press "Ctrl+Shift+S"

8. "Ctrl+C"

9. The pointer turns into a plus sign

10. "Ctrl"

11. The data from D40:G40 is now in D41:G41

12. You can store up to 24 items on the Office Clipboard

What is spreadsheet?

A spreadsheet is a computer programme that allows you to compute, organise, analyse, and store data in tabular form. Spreadsheets were created as electronic counterparts to paper accounting spreadsheets. The software runs on data entered into table cells. Each cell can include numeric or text data, as well as the results of formulas that calculate and display a value dependent on the contents of other cells. One such electronic document may also be referred to as a spreadsheet.

To learn more about spreadsheet
https://brainly.com/question/26919847

#SPJ1

If a user's computer becomes infected with malware and used as part of a botnet, which of the following actions can be initiated by the attacker? (Select all that apply.)

Answers

If a user's computer becomes infected with malware and used as part of a botnet, which of the following actions can be initiated by the attacker is option A: have up to date backups of the encrypted files

What exactly does data backup mean?

Malware is any software that has been specifically created to disrupt a computer, server, client, or computer network, leak sensitive data, provide unauthorized users access to data or systems, deny users access to information, or inadvertently compromise a user's computer security and privacy.

Note that To secure data in the event of a catastrophe, accident, or malicious act, data backup is the process of copying it from a primary place to a secondary site. Modern enterprises rely heavily on data, and data loss can seriously harm and disrupt operations.

Learn more about malware from

https://brainly.com/question/399317
#SPJ1

See full question below

If a user's computer becomes infected with malware and used as part of a botnet, which of the following actions can be initiated by the attacker? (Select all that apply.)

have up to date backups of the encrypted files

use a keyboard that encrypts key strokes

a logic bomb

Which of the following PC twos record data fastest

Answers

Answer:

Explanation:I believe none are good at all go out and play

Why do you think so many companies continue to invest in new analytics tools without implementing governance programs that ensure data consistency?

Answers

Answer:This is a weird

quision because the world is not bobo

Explanation:

External hackers have some access to a company's website and made some changes. Customers have submitted multiple complaints via email for wrong orders and inappropriate images on the website. The Chief Information Officer (CIO) is now worried about the distribution of malware. The company should prepare for which of the following other issues or concerns?

Answers

Answer:

-Domain reputation

-URL redirections

Explanation:

Write a C++ program, which ask user for date of birth, and generate horoscope
(Zodiac) of that date of birth, using Nested If-else statement, also ask user for another
entry using do-while loop.

Answers

You can check in photo.

Drivers are concerned with the mileage their automobiles get. One driver has kept track of several tankfuls of gasoline by recording the miles driven and gallons used for each tankful. Develop a C# application that will input the miles driven and gallons used for each tankful. The application should calculate and display the miles per gallon obtained for each tankful and display the total combined miles per gallon obtained for all tankfuls up to this point. Additionally, the application should categorize and display the consumption rate of gasoline as follows: Low, if the total miles per gallon is greater than 30. • Normal, if the total miles per gallon is between 20 and 30. High, if the total miles per gallon is less than 20. All averaging calculations should produce floating-point results. Display the results rounded to the nearest hundredth. c# program ​

Answers

To solve this problem with the help of C++ programing language, you must know concepts like variables, data type, if-else and while loop.

Step-by-step coding for the problem:

using System;

namespace GasOfMiles

{

   public class Gas

   {

       static void Main(string[] args)

       {

           int miles; // miles for one tankful

           int gallons; // gallons for one tankful

           int totalMiles = 0; // total miles for trip

           int totalGallons = 0; // total gallons for trip

           double milesPerGallon; // miles per gallon for tankful

           double totalMilesPerGallon; // miles per gallon for trip

           // prompt user for miles and obtain the input from user

          Console.Write("Enter miles (-1 to quit): ");

           miles = Convert.ToInt32(Console.ReadLine());

           // exit if the input is -1 otherwise, proceed with the program

           while (miles != -1)

           {

               // prompt user for gallons and obtain the input from user

               Console.Write("Enter gallons: ");

               gallons = Convert.ToInt32(Console.ReadLine());

               // add gallons and miles for this tank to totals

               totalMiles += miles;

               totalGallons += gallons;

               // calculate miles per gallon for the current tank

               if (gallons != 0)

               {

                   milesPerGallon = (double)miles / gallons;

                   Console.WriteLine("MPG this tankful: {0:F}",

                      milesPerGallon);

               } // end if statement

               if (totalGallons != 0)

               {

                   // calculate miles per gallon for the total trip

                   totalMilesPerGallon = (double)totalMiles / totalGallons;

                   Console.WriteLine("Total MPG: {0:F}\n", totalMilesPerGallon);

               } // end if statement

               // prompt user for new value for miles

               Console.Write("Enter miles (-1 to quit): ");

               miles = Convert.ToInt32(Console.ReadLine());

           } // end while loop  

           Console.ReadKey();

       }

   }

}

To learn more about C++ Programming, visit: https://brainly.com/question/13441075

#SPJ9

Other Questions
True / FalseThe Articles of Confederationallowed every state to issuetheir own form of currency. In a certain population of rabbits, the allele for brown fur is dominant over theallele for white fur. If 10 outof 100 rabbits have white fur, what is the allelefrequency for the recessive allele?The Hardy-Weinberg equation is:[homozygous dominant]2 + 2[heterozygous] + [homozygous recessive]? = 1A. 0.32B. 0.90C. 0.10D. 0.95 The drinking water in a location in Florida had a foul odor and taste. Investigations revealed that storm water runoff had carried huge amount of soil into the water bodies in the location . What are people in the location most likely to do to prevent the water pollution ? 4) A pizza shop sells pizzas that are 12 inches (in diameter) or larger. A 12 inch cheese pizza costs $9. Each additional inch costs $1.75, and each additional topping costs $0.50. Write an equation that represents the cost of a pizza. Be ure to specify what the variables represent. A student was asked to name all values of n that make the relation a function. Correct the error.{(2,8), (6,0), (4,2), (2n,n)}n can be any value except 2,6, or 4 A triangle has a perimeter of 7x + 8. The first side of the triangle has a length of 3x, and the second side has a length of 2x 5. What is the length of the third side of the triangle? x + 13 2x + 13 5x 5 12x + 3 A virus mutates, and therefore it has which of the following traits of living things? (1 point)O It grows and develops.OIt is made of cells.OIt evolves.It uses energy a mannitol salt agar plate is shown below with an unknown staphylococcus species. the species is most likely: (3s+2f=18)(2s+3f=15.75) the population of a city increases by 4,000 people each year. in 2005 the population is projected to be 450,000 people. what is an equation that gives the city's population p (in thousands of people) x years after 2010 Selecciona las oraciones que son correctas la capital del per est en la costa pacfica. Lima se ubica en la costa atlntica. El museo larco tiene una coleccin de ms de 45. 000 objetos arqueolgicos. Las catacumbas del convento de san francisco de lima no son subterrneas. Lima fue fundada por francisco pizarro en 1535. El convento de san francisco de lima es famoso por su biblioteca. A city administrator with a $100,000 annual budget is trying to decide between fixing potholes or directing traffic at several busy intersections after school. Studies have shown that 15 cars hit potholes every week, causing average damages of $200. Collisions at the intersections are less frequent, averaging one per month at an average cost of $6,000, although none have ever caused injuries or deaths. Use this information to answer the following questions. 1. What are the annual costs from the pothole damage?2. What are the annual costs due to damage fromcollisions?3. Given the size of the annual budget, make yourrecommendation as to which project should beundertaken. Explain you answer in terms of dollarbenefits per dollar spent. Based on your knowledge of microbial genetics and microbial pathogenesis, where do you think is/are the likely location/s of the genetic information for e. Coil shiga exotoxins?. Pleaseeee help me. I'm stuck on a math question. Find the equation of a line that passes through the point (5,3) and has a gradient of 2. Leave your answer in the form y = m x + c pls give answer pls pls HELPPP 50 POINTS Question of the day explain the existence of legends? why were they created? Someone please help me with this. Its a reading and I have to answer questions in the back pageHow were the puritans and pilgrims alike? How were they different ming lee got frustrated every time she tried to find a spice jar in her spice cabinet. she came up with a unique way to organize spices and is now investing her money and time developing the product to be sold to others. ming lee would be classified as Consider the proposed structure of carbon dioxide. :0-C-0: Determine whether the structure is correct and justify your decision. Select one: This structure is incorrect due to the total number of electrons. This structure is incorrect because the octet rule is not fulfilled. This structure is correct due to exceptions to the octet rule. This structure is correct due to the total number of bonds. O