1
#
How to attempt?
Question
#
1
2
3
4
5
Adam's Charity
i
Adam decides to be generous and do some charity. Starting today, from day 1
until day n, he gives il coins to charity on day 'i' (1 <=i<= n).
7
Return the total coins he would give to charity.
Input Specification:
input1: Number of days of charity
Output Specification:
Return the total number of coins till charity days.
Example 1:
Answers
Answered by
0
Answer:
1
#
How to attempt?
Question
#
1
2
3
4
5
Adam's Charity
i
Adam decides to be generous and do some charity. Starting today, from day 1
until day n, he gives il coins to charity on day 'i' (1 <=i<= n).
7
Return the total coins he would give to charity.
Input Specification:
input1: Number of days of charity
Output Specification:
Return the total number of coins till charity days.
Example 1:
Similar questions
Hindi,
3 months ago
Social Sciences,
3 months ago
India Languages,
6 months ago
English,
6 months ago
Biology,
10 months ago
Social Sciences,
10 months ago