Pass your marks of CA-1(27), CA-2(28), and CA-3(0) of the course INT102 to the function with header high (float *, float *, float*). Write a function that should return the highest CA marks.
Write a menu-driven program that asks the user to select a favorite color from the given colors. Keep asking the user three times for selecting the color from the list of the available colors. Do this with the help of a suitable loop and switch statement. Finally, you have to display the three favorite colors of the user.
Input numbers from the user and find the sum of all those input numbers until the user inputs zero. In other means, the loop should end when the user enters 0. Finally, display the sum of all those numbers entered by the user.
Take input of your registration number(8-digits) in the University. Write a program to print all the prime numbers digits in your registration number
Pass your marks of CA-1(28), CA-2(27), and CA-3(0) of course INT102 to the function with header high (float *, float *, float*). Write a function that should return the highest CA marks.
Write a menu-driven program that asks the user to select a favorite color from the given colors. Keep asking the user three times for selecting the color from the list of the available colors. Do this with the help of a suitable loop and switch statement. Finally, you have to display the three favorite colors of the user.
How to determine the set symmetric when user input the set using java code?
Write a C++ program to execute the following the logic:
Create a class named with MagicNumber, having one data member like No and having different member function to perform the unique task. All the member functions are must be as argument based function.
GetNo(),PrintNo(int),FactNo(int),PatternNo(int),PrimeNo(int),SquareNo(int).
• GetNo function will get the any positive number from user.
• If no is >10 than call the SquareNo function and find the square of that no.
• If no >5 and <10 than call FactNo function and find the factorial of that no.
• If no<5 then call the PatternNo function and display any pattern based on that no.
• If given number is odd than call the PrimeNo function and check given no is prime or not.
1. Consider the following data to answer the question below
What is the command to convert the above dictionary into a dataframe named ‘df_state’?
2. List 3 commands to display the columns of the above dataframe df_state.
3. Correlation between two variables X&Y is 0.85. Now, after adding the value 2 to all the values of X, the correlation co-efficient will be______
4. A) Read the given dataset “Tips.csv” as a dataframe “Data”. Give 3 commands to extract the columns in the following sequence - Time, TotalBill, Tips?
B) Read the given excel sheet ‘Tips1.xlsx’ as a dataframe ‘Data1’. What command should be given to merge the two data frames ‘Data’ and ‘Data1’ by columns?
C) Copy the 'Data1' dataframe as 'Data2' (Data2 = Data1.copy()) and identify the command to find the total tips received across Day’s from the dataframe ‘Data2’?
Artificial Mouse population satisfying the following conditions :
i. Two mouses are born one by one in 1st and 2nd months respectively. This newly born pair of mice build the initial population.
ii. These mice can mate at the age of 2nd month such that this mice pair brings another pair of mice in the 3rd month. So, in this way the mouses produced in a particular month will be equal to sum of mouses produced in the previous 2 months.
iii. If the a and b are produced in the 1st and 2nd months to form an initial population there will be a + b mouses in the 3rd month.
iv. These mice are immortal. They will not die.
Write a python function population-series(a, b, n) which takes the population as a ,b and a
positive integer number 'n' as number of months and returns no. of mouses produced in each month till the nth month in string format using recursion.