Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

write a c++ program that keeps track of budget for a user, you need to ask him about his total salary at the start of the month and then calculate his saving after his expenses. ask him about his electricity bills, gas water and rent house and at the end display how much he has saved


A group of medical students were monitoring the body temperature of a patient daily basis. Students captured 10 temperature readings in Celsius on a particular day.


1. Write an Algorithm to input these ten values and get the average temperature for that day. if the average temperature value is in between 970 Fahrenheit and 990 Fahrenheit then display the message “Your body temperature is normal…”. If it is more than 100.40 Fahrenheit then display the message “You have a fever caused by an infection or illness…”.





The assignment will contain 4 departments as four different object classes



i) Super Department



ii) Admin Department



iii) Hr Department



iv) Tech Department




T(n) = T(n/3) + T(2n/3)+ big O(n)

Find the upper bound of this recurrence equation with the help of recursion tree


Write a Python program to check whether a given date is valid date or not and to out put the following.

• If the date is valid then the message “Date is Valid” otherwise the message “Date is Invalid”.

• If the date is a valid date, then the next date.


Hint:


Follow the following steps. (NOTE: You are not allowed to use any Python built-in functions.)

• Get the inputs Year, Month, and Date separately.

• Use selection statements, i.e., if-else statements to check if the Date, Month, and the Year are valid.

• if the date is a valid date, then print the next date (Increment the date).


Sample Test Cases:

Enter the Date Expected Result Next Date

Test Case 1 2020 02 30 Date is Invalid -

Test Case 2 2020 02 29 Date is Valid 01-03-2021

Test Case 3 2021 09 31 Date is Invalid -

Test Case 4 2021 13 01 Date is Invalid -

Test Case 5 2021 08 31 Date is Valid 01-09-2021


01.Write a Python program to check whether a given date is valid date or not and to out put the following.


• If the date is valid then the message “Date is Valid” otherwise the message “Date is Invalid”.

• If the date is a valid date, then the next date.


Hint:


Follow the following steps. (NOTE: You are not allowed to use any Python built-in functions.)


• Get the inputs Year, Month, and Date separately.

• Use selection statements, i.e., if-else statements to check if the Date, Month, and the Year are valid.

• if the date is a valid date, then print the next date (Increment the date).


Sample Test Cases:


Enter the Date Expected Result Next Date

Test Case 1 2020 02 30 Date is Invalid -

Test Case 2 2020 02 29 Date is Valid 01-03-2021

Test Case 3 2021 09 31 Date is Invalid -

Test Case 4 2021 13 01 Date is Invalid -

Test Case 5 2021 08 31 Date is Valid 01-09-2021


With the help panda library create a dataframe using the concept of dictionary of lists where Keys and Values of dictionary take the data as mention above in the figure and perform the following operations a) Print All columns name from the dataframe and change the b) Display top 7 and bottom 7 rows of first 3 and last 3 columns c) Write the python code statement to print the value “21-Jan-12” from dataframe. d) Write the python code statement to print the values 2nd,4th ,6th , 8th and 10th row for the column “No of Hours” e) Display the total sum of column total_payout.


Discuss different ways of creating a dataframe in python programming languages using panda library. Justify your answer with the help of suitable example


Create a dataframe by using the dataset [tipsnew.csv] and perform the following operations a) Print the day value when the value of total_bill is maximum and minimum. b) Retrieve all the rows from dataframe when the value of tip is more than 3.0 and less than 5.0 c) Print the time of the meal and gender of the person who paid the tip more than 5.0 d) Select and display last 10 rows from the dataframe when customer smoking habbit is ‘yes’ e) Create the newdataframe(ndf) from original dataframe(df) containing all rows and the following columns [total_bill tip, size]. Sort and display all values of column tip in ascendending order.


Write a Python program to check whether a given date is valid date or not and to out put the following.

• If the date is valid then the message “Date is Valid” otherwise the message “Date is Invalid”.

• If the date is a valid date, then the next date.


Hint:


Follow the following steps. (NOTE: You are not allowed to use any Python built-in functions.)

• Get the inputs Year, Month, and Date separately.

• Use selection statements, i.e., if-else statements to check if the Date, Month, and the Year are valid.

• if the date is a valid date, then print the next date (Increment the date).


Sample Test Cases:


Enter the Date Expected Result Next Date

Test Case 1 2020 02 30 Date is Invalid -

Test Case 2 2020 02 29 Date is Valid 01-03-2021

Test Case 3 2021 09 31 Date is Invalid -

Test Case 4 2021 13 01 Date is Invalid -

Test Case 5 2021 08 31 Date is Valid 01-09-2021


LATEST TUTORIALS
APPROVED BY CLIENTS