Write HTML code to create a table in Web Technologies
Check values in the Array is a String
https://drive.google.com/drive/folders/1kXJXOrjz0_j-RGv5nvMhCspFi0dH54LD?usp=sharing
Please fill the code in "write your code here"
They were just sample outputs. There are other test cases too which should be passed
Square at Alternate Indices
https://drive.google.com/drive/folders/1vXgw6-3c1Dq3ZuCh_NgesMayQmSLC_wb?usp=sharing
Please fill the code in "write your code here"
They were just sample outputs. There are other test cases too which should be passed
Array of Strings to UpperCase
https://drive.google.com/drive/folders/1vgGYsjWf_Nd2Ou4n7_Kl3QAizcaBfVos?usp=sharing
Please fill the code in "write your code here"
They were just sample outputs. There are other test cases too which should be passed
String Slicing
https://drive.google.com/drive/folders/1KPus4l0U5mppjMI4uysBd7nYyosJWCej?usp=sharing
Please fill the code in "write your code here"
They were just sample outputs. There are other test cases too which should be passed
Series of Operations
https://drive.google.com/drive/folders/1DdFpwKNXcblQ23MLLwVtX15M0gyNlkWY?usp=sharing
Please fill the code in "write your code here"
They were just sample outputs. There are other test cases too which should be passed
Html,Css and Javascript program
Please refer to the below gif image carefully
bookmark-maker
I want same exact output as in the gif image and please don't given me other programs they're not working properly. Try to understand.
Bookmark Maker
Read each and every line carefully
Gardening
This link has Question images and the code.txt which has to be solved.
Please solve this
https://drive.google.com/drive/folders/1SZjTH9_DTzAymK7UufCg7j89_ZqcR5_X?usp=sharing
Passes test cases 3/5
Sample Input 1
1000
2
3Sample Output 1
1060These are just samples. There are other test cases too.
let inputString = '';
let currentLine = 0;
process.stdin.on('data', inputStdin => {
inputString += inputStdin;
});
process.stdin.on('end', _ => {
inputString = inputString.trim().split('\n').map(string => {
return string.trim();
});
main();
});
function readLine() {
return inputString[currentLine++];
return input === undefined ? undefined : JSON.parse(input);
}
function calculateFinalValueWithAppreciation(principal, time, apprPercentage) {
let finalValue;
finalValue = principal * (1 + time * apprPercentage / 100);
return finalValue;
}
function main() {
const principal = readLine();
const time = readLine();
const apprPercentage = readLine();
const finalValue = calculateFinalValueWithAppreciation(principal, time, apprPercentage);
console.log(finalValue);
}
Passed test cases 1/4. Please solve it
Sample Input 1
200
3Sample Output 1
570Sample Input 2
180
1Sample Output 2
180These are just samples there are other test cases too.
let inputString = '';
let currentLine = 0;
process.stdin.on('data', inputStdin => {
inputString += inputStdin;
});
process.stdin.on('end', _ => {
inputString = inputString.trim().split('\n').map(string => {
return string.trim();
});
main();
});
function readLine() {
return inputString[currentLine++];
}
function main() {
const dayCharge = JSON.parse(readLine());
const days = parseInt(readLine());
let bill, discount;
bill = dayCharge * days;
if (days >= 2) {
discount = 5;
bill - (bill * discount) / 100;
}
if (days >= 5) {
discount = 15;
bill - (bill * discount) / 100;
}
console.log(`Total bill with the discont is ${bill}`);
}