Horje
array question 1 Code Example
array question 1
    #include <iostream>
    using namespace std;
    int a[100],n,i,tempr,templ;
    int main()
    {
    cin>>n;
    for(i=1;i<=n;i++) cin >> a[i];
    for(i=1;i<=n;i++)
        {
            tempr = a[n];
            a[n] = a[i];
            a[i] = tempr;
            cout<<"Right: "<<a[i]<<endl;
        }
    for(i=1;i<=n;i++)
        {
            templ = a[2];
            a[2] = a[i];
            a[i] = templ;
            cout<<"Left: "<<a[i]<<endl;
        }
    return 0;
}




Whatever

Related
vue get element Code Example vue get element Code Example
Oauth2 Full authentication is required to access this resource Code Example Oauth2 Full authentication is required to access this resource Code Example
Docker view list of images Code Example Docker view list of images Code Example
render meaning Code Example render meaning Code Example
flutter animation in background Code Example flutter animation in background Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7