Skip to content

MyUstaadG

Learn to Serve

  • Computer Science
    • Software
    • Computer Tips
    • Coding
      • Conditional Structures Exercises
      • Loops Exercises
      • Arrays Exercises
      • Python Exercises
    • Microsoft Office
      • MS Excel
      • MS Word
  • Videos
    • Funny Videos
    • Health and Fitness Videos
    • PUBG Videos
    • Technology Videos
  • News
  • Funny
  • Memes
  • Playwright Tutorials
  • Tutorials
  • Toggle search form

Tag: Arrays in C++ Programming with examples

Write a program that inputs integer values in an array of 10 elements in main() function and passes the array to a function. The function counts odd integer values.

Posted on February 5, 2022February 5, 2022 By myustaadg.com

Write a program that inputs integer values in an array of 10 elements in main() function and passes array to a function. The function counts odd integer values in the array and returns the result to main() function. So let’s Write Code: Code: Write a program that inputs integer values in an array of 10…

Read More “Write a program that inputs integer values in an array of 10 elements in main() function and passes the array to a function. The function counts odd integer values.” »

Arrays Exercises, Programming Exercises

Write a program that initializes values in a table and searches for a value from it. If value is found, then it displays the value and its location.

Posted on February 5, 2022February 5, 2022 By myustaadg.com

initializes values in a table and searches for a value

Arrays Exercises, Programming Exercises

Write a program that sorts one-dimensional array’s values into descending order using the bubble sort method.

Posted on February 5, 2022February 5, 2022 By myustaadg.com

Write a program that sorts one-dimensional array’s values into descending order using bubble sort method | Array sorting using bubble sort method So let’s Write Code: Code: Write a program that sorts one-dimensional array’s values into descending order using the bubble sort method. Hope You will learn Something. Happy Coding. Visit my YouTube Channel as…

Read More “Write a program that sorts one-dimensional array’s values into descending order using the bubble sort method.” »

Arrays Exercises, Programming Exercises

Write a program that sorts an array ‘ABC’ in ascending order using the Bubble Sort method. The array consists of N elements.

Posted on October 26, 2021 By myustaadg.com

Write a program that sorts an array ‘ABC’ in ascending order using Bubble Sort method. The array consists of N elements. So let’s Write Code: Code: Write a program that sorts an array ‘ABC’ in ascending order using the Bubble Sort method. The array consists of N elements. Hope You will learn Something. Happy Coding….

Read More “Write a program that sorts an array ‘ABC’ in ascending order using the Bubble Sort method. The array consists of N elements.” »

Arrays Exercises, Programming Exercises

Write a program that searches a value in an array using the Sequential Search method and replaces it with another one.

Posted on October 26, 2021 By myustaadg.com

Write a program that searches a value in an array using the Sequential Search method and replaces it with another one. So let’s Write Code: Code: Write a program that searches a value in an array using the Sequential Search method and replaces it with another one. Hope You will learn Something. Happy Coding. Visit…

Read More “Write a program that searches a value in an array using the Sequential Search method and replaces it with another one.” »

Computer Tips

Write a program that initializes values in two tables A and B. It adds tables A and B and stores result into table C. It also displays the values of three tables in tabular form on the screen.

Posted on October 26, 2021 By myustaadg.com

Write a program that initializes values in two tables A and B. It adds tables A and B and stores result into table C. It also displays the values of three tables in tabular form on the screen. Note: The addition of matrices A and B is obtained by adding the elements of A to…

Read More “Write a program that initializes values in two tables A and B. It adds tables A and B and stores result into table C. It also displays the values of three tables in tabular form on the screen.” »

Arrays Exercises, Programming Exercises

Write a program that inputs data into a string and searches the ‘vowel’ characters from the string and displays on the screen.

Posted on October 26, 2021 By myustaadg.com

Write a program that inputs data into a string and searches the ‘vowel’ characters from the string and displays on the screen. So let’s Write Code: Code: Write a program that inputs data into a string and searches the ‘vowel’ characters from the string and displays on the screen. Hope You will learn Something. Happy…

Read More “Write a program that inputs data into a string and searches the ‘vowel’ characters from the string and displays on the screen.” »

Arrays Exercises, Programming Exercises

Write a program that sorts one-dimensional array of 5 elements in ascending order using insertion sort method.

Posted on October 26, 2021 By myustaadg.com

Write a program that sorts one-dimensional array of 5 elements in ascending order using insertion sort method. So let’s Write Code: Code: Write a program that sorts a one-dimensional array of 5 elements in ascending order using the insertion sort method. Hope You will learn Something. Happy Coding. Visit my YouTube Channel as Well😇 https://www.youtube.com/watch?v=JuIHQ9cLSEw&list=PLbIhkHxfUIItTdcyCb34uRIrPJbXBndIl&index=4…

Read More “Write a program that sorts one-dimensional array of 5 elements in ascending order using insertion sort method.” »

Arrays Exercises, Programming Exercises

Write a program in C++ that inputs data into an array. It inputs a value from the user and searches this value in the array using sequential search.

Posted on October 26, 2021 By myustaadg.com

Write a program in C++ that inputs data into an array. It inputs a value from the user and searches this value in the array using sequential search. If the entered value is found in the array, it displays the position of the value in the array; otherwise, it displays the message “Value not found”….

Read More “Write a program in C++ that inputs data into an array. It inputs a value from the user and searches this value in the array using sequential search.” »

Arrays Exercises, Programming Exercises

Write a program that inputs temperatures for seven days of the week into a one-dimensional array “temp”.

Posted on October 26, 2021 By myustaadg.com

Write a program that inputs temperatures for seven days of the week into a one-dimensional array “temp”. It computes the average temperature and displays the values of array and calculated average temperature on the screen. So let’s Write Code: Code: Write a program that inputs temperatures for seven days of the week into a one-dimensional…

Read More “Write a program that inputs temperatures for seven days of the week into a one-dimensional array “temp”.” »

Arrays Exercises, Programming Exercises

Posts navigation

1 2 3 Next

Copyright © 2022 MyUstaadG.

Powered by PressBook Blog WordPress theme