Write a C program to find (x+b)^2 output.
Write a VB program to find out the highest and lowest mark and displayed every time the user add a mark into the list box.
The program should allow user to key in the mark on the text box and insert the mark into the list box suing the Insert button. After the mark is inserted, the highest mark and lowest mark within the list box will be displayed on the corresponding text box.
The interface should be as followed:
Mark: 57(TextBox)
Insert(Button)
Highest:87(TextBox)
Lowest: 26(TextBox)
(ListBox)
39
74
45
87
26
66
35
77
73
57
1. Write a C program that will convert Second into Minute and Hour.
2. Write a C program that will enter marks of three Quizzes calculate the mean
of this marks. (Mean and Total)
3. Write a C program to find (x+b)2
output.
4. Write a C program to enter base and height of a triangle and find its area.
5. Write a C program to calculate area of an equilateral triangle.
Write a VB program to find out the highest and lowest mark and displayed every time the user add a mark into the list box.
The program should allow user to key in the mark on the text box and insert the mark into the list box suing the Insert button. After the mark is inserted, the highest mark and lowest mark within the list box will be displayed on the corresponding text box.
The interface should be as followed:
Example
Mark: 57(TextBox) ListBox
29
Insert(Button) 74
45
Highest:87(TextBox) 87
Lowest: 26(TextBox) 26
66
35
77
73
57
Update Pickup Point
Write a Javascript program
Given a previous pickup point in the prefilled code, and updated
pickup point area , city as inputs, write a JS factory function
with a method to update the pickup point.
Input
. The first line of input contains a string area
. The second line of input contains a string city
Output
. The output should be a single line containing the updated pickup
point area and city separated by a space
Sample Input 1
Kukatpally
HyderabadSample Output 1
Kukatpally HyderabadSample Input 2
Jubilee Hills
HyderabadSample Output 2
Jubilee Hills HyderabadConsider the following relation with set of functional dependencies R(ABCDEF) AB->CD, CD->EF, BC->DEF, D->B, CE->F a) Identify the candidate keys in the above relation (with proper steps followed). b) Identify which normal form this relation is in and reason for the answer.
Let's play a game of FizzBuzz! It works just like the popular childhood game "PopCorn", but with rules of math applied since math is fun, right?
Just print out "Fizz" when the given number is divisible by 3, "Buzz" when it's divisible by 5, and "FizzBuzz" when it's divisible by both 3 and 5!
Let the game begin!
Create a program that will ask a user to enter 5 positive numbers.
The program will then display the largest and the smallest value that was entered by the user.
All test cases should be passed
Sample Input 1
true
trueSample Output 1
Grass Trimmed
Garden Cleaned
Watered PlantsSample Input 2
true
falseSample Output 2
Grass Trimmed
Garden Cleaned
Water Hose Pipe Not Foundlet inputString = "";
let currentLine = 0;
process.stdin.on("data", (inputStdin) => {
inputString += inputStdin;
});
process.stdin.on("end", (_) => {
inputString = inputString.trim().split("\n").map((str) => str.trim());
main();
});
function readLine() {
return inputString[currentLine++];
}
function main() {
const isGrassTrimmerFound = JSON.parse(readLine());
const isWaterHosePipeFound = JSON.parse(readLine());
/* Write your code here */
const myPromise = async () => {
try {
/* Write your code here */
} catch(error) {
/* Write your code here */
}
};
myPromise();
}
I want to pass all test cases
Sample Output 1
Item FoundSample Output 2
Category Not Foundlet inputString = "";
let currentLine = 0;
process.stdin.on("data", (inputStdin) => {
inputString += inputStdin;
});
process.stdin.on("end", (_) => {
inputString = inputString.trim().split("\n").map((str) => str.trim());
main();
});
function readLine() {
return inputString[currentLine++];
}
function main() {
const categoryOfItem = readLine();
const item = readLine();
const mart = [
{
category:"pulses",
items: ["green gram", "green peas", "Turkish gram"]
},
{
category:"soaps",
items:["santoor", "dove", "lux", "pears"]
},
];
}