From 4391347d0327cd69185d9d12b29a84f43f89d9fd Mon Sep 17 00:00:00 2001 From: AndrewTrieu Date: Mon, 13 Mar 2023 16:06:45 +0200 Subject: [PATCH] Upload 1.7 --- part1/unicafe/src/App.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/part1/unicafe/src/App.js b/part1/unicafe/src/App.js index e566d90..5757347 100644 --- a/part1/unicafe/src/App.js +++ b/part1/unicafe/src/App.js @@ -19,6 +19,9 @@ const App = () => {

good {good}

neutral {neutral}

bad {bad}

+

all {good + neutral + bad}

+

average {(good - bad) / (good + neutral + bad)}

+

positive {(good / (good + neutral + bad)) * 100} %

); };