Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to fix conflict #230

Open
wants to merge 7 commits into
base: Petrenko_Mark_Vladimirovich
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions 1.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include <iostream>

int main()
{
cout << "Hello, world!" << endl;
return 0;
}
32 changes: 32 additions & 0 deletions 1.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package main

import (
"fmt"
"math"
)

func z1() {
fmt.Printf("Задача 1: \n")
for i := 0.26; i < 0.67; i += 0.08 {
x := math.Pow(math.Asin(i), 2)
y := math.Pow(math.Acos(i), 4)
c := math.Pow((x + y), 3)
fmt.Printf("%.2f \n", c)
}
}

func z2() {
fmt.Printf("Задача 2: \n")
v := [5]float64{0.1, 0.35, 0.4, 0.55, 0.6}
for i := 0; i < 5; i++ {
x := math.Pow(math.Asin(v[i]), 2)
y := math.Pow(math.Acos(v[i]), 4)
c := math.Pow((x + y), 3)
fmt.Printf("%.2f \n", c)
}
}

func main() {
defer z2()
z1()
}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Вот сюда нужно будет в первой работе с гитом добавит свое ФИО

## ФИО
Петренко Марк Владимирович

## Работа с репозиторием

Expand All @@ -14,8 +14,8 @@

## Примеры работы с markdown

Обычный текст.
Еще текст на той же строке (в том же абзаце).
Петренко Марк Владимирович


Текст в новом абзаце

Expand Down
6 changes: 6 additions & 0 deletions Untitled-1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <stdio.h>
void main()
{
printf('Hello World!')
return 0;
}