Twitter Feed Facebook Google Plus Youtube

Adsense responsive

Recent Post below header

Thursday 26 March 2020

C PROGRAM: TO SUM FIRST N NUMBERS

C program to sum first n numbers. It takes n as input and output sum of first n numbers.

Here I have used Code::Blocks IDE.


CODE:
#include<stdio.h>

void main() {
    int n, i, sum=0;
    printf("Enter n: ");
    scanf("%d", &n);

    for (i=1; i <= n; ++i) {
        sum += i; // equivalent to sum = sum + i;
    }

    printf("\n\nSum of first %d numbers: %d", n, sum);
}

OUTPUT:
Enter n: 20

Sum of first 20 numbers: 210


Screenshots:

Image of Code: Sum of first N numbers


Output Image: Sum of first N numbers


For any query or suggestion please comment below...

Thursday 1 February 2018

Gunship Battle Episode 3 - All Missions

Gunship Battle (3D Helicopter Android Game) episode 3 - all missions Full HD 1080p Gameplay


GUNSHIP BATTLE EPISODE 1 (ALL MISSIONS) FULL HD GAMEPLAY | 1080p | [2018]

Latest Gunship Battle 2018 Gameplay in 1080p (Full HD).  This is a game play of episode 1 (all missions).
Episode 1 (Act 1):

Mission 1: Attack!
Mission 2: Extortion!
Mission 3: Maritime Ambush!
Mission 4: Amphibious Assault!
Mission 5: Air Raid!
Mission 6: All-out War!
Mission 7: Operation Tail-cutter!




Next episodes coming soon. Till then keep supporting my YouTube Channel.

Download game from Google Play Store: https://play.google.com/store/apps/details?id=com.theonegames.gunshipbattle&hl=en

Tuesday 30 January 2018

TEN BEST FEATURES OF WINDOWS 10 | TOP 10 FEATURES

Top 10 best feature of Windows 10 that every user must know. Here is the list of features included in video.


Features Mentioned In Video:

  1. Split Screen: Divide screen into two portion.
  2. Quick Actions: Add/remove and rearrange quick actions.
  3. Windows 10 Color Scheme: Change look and feel of Windows.
  4. Night Light: Best for user to use Windows PC in late night.
  5. Adding Language Pack: Add any language pack and type documents in that language.
  6. Bandwidth Usage: Check bandwidth usage of your Internet connection.
  7. Reduce Windows Startup Time: Stop unnecessary programs to initiate at boot time.
  8. On Screen Keyboard: Windows 10 comes with two types of on-screen keyboards.
  9. Metered Connection: Reduce data usage of apps by marking your Internet connection as metered.
  10. Secret Menu: Windows 10 has one extra menu (one that all know is Start Menu).
Watch following video to know more about these features: