Yy2402iny2024.hashnode.dev·Apr 16, 2023 · 2 min readInverted Right-angle triangle of AsteriskProblem:- write a programme that takes an integer input I and prints an inverted right-angle triangle pattern of asterisks with I rows. Divide the problem into small Steps: - first, run the loop based on the input of the integer run loop inside the...00
Yy2402iny2024.hashnode.dev·Apr 8, 2023 · 2 min readRemove DuplicatesProblem:- write a programme that removes duplicate items from the cart or list array containing objects. Divide the problem into small Steps: - create an array of a list of items with duplicate item names. apply a filter on the cart and remove item...00
Yy2402iny2024.hashnode.dev·Mar 28, 2023 · 2 min readHighest Value form ArrayPROBLEM:- A teacher wants to find the highest marks scored by a student in a class of five students. the teacher enters the marks of all five students in an array called ''marks'' .write a program that iterates through the array and finds the highest...00