1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
xxTIMURxx [149]
2 years ago
13

Write the pseudocode for a program that will process attendance records of CA students. The students attend college five days a

week. Input values are the student’s name, number, and the time in and time out for each day of the week (i.e. five different times in and times out must be input). If a student attends college more than 36 hours in a week, a congratulatory message is printed. If a student attends college less than 30 hours in a week, a warning message is printed. The output for each student is the name, hours, and the appropriate attendance message. Processing continues until a student number of zero is input. Assume that students always check in and out on the hour. Therefore, timeIn and timeOut will be integer variables (i.e. they represent whole hours, and minutes are ignored).
Computers and Technology
1 answer:
Alenkasestr [34]2 years ago
3 0

Using the knowledge of pseudocodes it will be possible to write a code that calculates the amount of hours worked and giving warnings about it.

<h3>Writing a pseudocode we have that:</h3>

<em>while </em>

<em>if number == 0</em>

<em>break</em>

<em>hours =0 </em>

<em>for i =1 to 5 </em>

<em>hours = hours + time_out[ i ] - time_in[ i ]</em>

<em> If hours >36 : </em>

<em>print ( "Name is " ,name)</em>

<em>print( "No of hours are ",hours)</em>

<em>print("Congratulaion! Your working hours are more than 36")</em>

<em>If hours <30 : #</em>

<em>print ( "Name is " ,name)</em>

<em>print( "No of hours are ",hours)</em>

<em>print("Warning !!!")</em>

<em>End loop</em>

See more about pseudocode at brainly.com/question/13208346

#SPJ1

You might be interested in
How does Greenscreen work
Drupady [299]
<span>All of this high-tech fakery happens with the help of backdrops of brightly colored fabric or paint, and a process called "chroma key," also referred to as "green screen" due to the backdrops' color, which is typically a vivid green. ... Chroma keying isn't just for backgrounds; it works with objects, too.</span>
5 0
3 years ago
Read 2 more answers
If you wanted to make certain numbers in a spreadsheet stand out, you should _____.
almond37 [142]
Make the numbers in bold and/or underlined
3 0
3 years ago
Read 2 more answers
Users can make notes or highlight areas of a website and then use the ________ feature of Microsoft Edge to send the highlighted
exis [7]

Answer:

Share.

Explanation:

Microsoft Edge is a web browser developed and hosted by Microsoft. It integrates cortana platform and other extensions, which are all hosted on Microsoft.

Just like every other browser, microsoft edge can interpret web codes values to its appropriate web page, it is simply used to browse the internet. When an area of the web page is highlight, copied or downloaded, it can be shared to other microsoft edge users through the share option.  

8 0
3 years ago
You can merge the cells using the rowspan and colspan attribute of the tag <br> true or false​
Travka [436]

Answer: True.

Explanation: ...

3 0
2 years ago
Write the addReview method, which adds a single product review, represented by a ProductReview object, to the ReviewCollector ob
maw [93]

Answer:

Explanation:

namespace Jeroen\ReviewIntegration\Observer;

use Magento\Framework\Event\ObserverInterface;

class ProductReview implements ObserverInterface

{

    protected $_storeManager;

    protected $_request;

    public function __construct(

        \Magento\Store\Model\StoreManagerInterface $storeManager,

        \Magento\Framework\App\Request\Http $request

    ) {

        $this->_storeManager = $storeManager;

        $this->_request = $request;

    }

    public function execute(\Magento\Framework\Event\Observer $observer)

    {

         return 'test';

    }

}

5 0
3 years ago
Other questions:
  • What is the maximum number of hosts you can have on a network if the first decimal value of the ip address is between 192 and 22
    10·1 answer
  • List some good names for devices on your home network or on the network in your school's lab. Demonstrate the use of best practi
    13·1 answer
  • How does applying Fontworks effects to text on an advertising flyer change the text?
    8·1 answer
  • Edhesive 3.2 Lesson Practice question 1
    5·1 answer
  • What can a scientist do if he repeats and experiment and gets diffrent results?
    5·1 answer
  • The right to make others do things is referred to as _________.
    14·2 answers
  • What output is generated by this for loop?
    6·1 answer
  • What is the long tube on a microscope called​
    15·1 answer
  • A customer is looking for a storage archival solution for 1,000 TB of data. The customer requires that the solution be durable a
    9·1 answer
  • I have the requirements for Ace rank on Brainly but hasn't given me it yet. Does it just take longer than normal ranks or someth
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!