Computer Science, asked by hudaabidi786, 1 month ago

Write a program to find the sum of first 10 even numbers.
plz answer me ​

Answers

Answered by greeshmanth5e3
0

Answer:

// C language

#include<stdio.h>

int main()

{

      int sum,i;

      for(i=1;i<=10;i++)

       {

                sum=sum+i*2;

        }

        printf("%d",sum);

        return 1;

}

Answered by IIAstuteIshII
3

ɧɛƖƖơ ɱąɬɛ

ɪᴛs ᴜsɪɴɢ ᴘʏᴛʜᴏɴ ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ʟᴀɴɢᴜᴀɢᴇ

Answer:

ᴘʟᴇᴀsᴇ ʀᴇFᴇʀ ᴛᴏ ᴛʜᴇ ᴀᴛᴛᴀᴄʜᴍᴇɴᴛ..

NOTE:

  • Fɪʀsᴛ ᴀᴛᴛᴀᴄʜᴍᴇɴᴛ ᴄᴏɴᴛᴀɪɴs ᴛʜᴇ ᴘʀᴏɢʀᴀᴍ  
  • sᴇᴄᴏɴᴅ ᴀᴛᴛᴀᴄʜᴍᴇɴᴛ ᴄᴏɴᴛᴀɪɴs ᴛʜᴇ ᴏᴜᴛᴘᴜᴛ

ɧơ℘ɛ ıɬ ɧɛƖ℘ʂ ყơų  ☺

Attachments:
Similar questions