Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

#include<iostream> using namespace std; int main() { int arr[6], i, elem; cout<<"Enter 5 Array Elements: "; for(i=0; i<5; i++) cin>>arr[i]; cout<<"\nEnter Element to Insert: "; cin>>elem; arr[i] = elem; cout<<"\nThe New

Yash Kumar answered on August 16, 2022 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • #include < iostream> using namespace std; int main() { cout <<" Hello World!" << endl; cout << " My name is Pearl" << endl; return 0; }
  • #include <iostream> using namespace std; int main() { for(int i=3;i!=0; i--) { count<<i--<<" "; } }
  • #include <iostream> using namespace std; int main(){ int sum1 = 100+50; int sum2 = sum1+250; int sum3 = sum2+sum2; cout<< sum1 << "\n"; cout<< sum2 << "\n"; cout<< sum3 << "\n"; return 0; }
  • #include <iostream> using namespace std; int main() { int a,b; cin>>a>>b; if (a>=b) { cout<<"YES"<<endl; } else { cout<<"NO"<<endl; }return 0; }
  • #include<iostream> using namespace std; int print_3n_plus_1(int n) { if (n == 1) return 1; if (n % 2 == 0) print_3n_plus_1(n / 2) + 1; else print_3n_plus_1(3 * n + 1) + 1; } int main() { int m; m=print_3n_plus_1(6); cout << m; return 0;
  • #include <iostream> using namespace std; void printStars (int blanks, int starsInLine) int main() { int count; for (count = 1; count <= blanks; count++) cout << ' '; for (count = 1; count <= starsInLine; count++) cou
  • find error #include <iostream> using namespace std; int main() { int arr[] = {5, 1, 4, 2, 3}; int n = sizeof(arr) / sizeof(arr[0]); for (int i = 1; i <= n - 1; i++) { for (int j = 0; j < n - 1; i++) { if (arr[j

  • #include<iostream> using namespace std; int main() { int arr[6], i, elem; cout<<"Enter 5 Array Elements: "; for(i=0; i<5; i++) cin>>arr[i]; cout<<"\nEnter Element to Insert: "; cin>>elem; arr[i] = elem; cout<<"\nThe New

    0
    Popularity 3/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Aug 16 2022
    Yash Kumar
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.