#include <stdio.h>
int main()
{
    int m;
    scanf("%d",&m);
    printf("%0.2lf", pow(m +(1/m))4));
    return 0;
}

বিঃ দ্রঃ কোডে সমস্যা শুধুমাত্র printf() এ

asked 31 Oct, 15:29

pollob1563's gravatar image

pollob1563
132

edited 31 Oct, 16:34

Mosharraf%20Hosain's gravatar image

Mosharraf Hosain ♦
9618


pow() ফাংশনের জন্য math.h হেডার ফাইল ইনক্লুড করতে হবে। প্রিন্টএফ ফাংশনে m এর আগে একটা '(' যুক্ত করতে হবে, 4 এর আগে একটা কমা দিতে হবে।

printf("%.2lf",pow((m+(1/m)),4));

permanent link

answered 31 Oct, 16:57

Mosharraf%20Hosain's gravatar image

Mosharraf Hosain ♦
9618

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×355
×34

question asked: 31 Oct, 15:29

question was seen: 72 times

last updated: 31 Oct, 16:57